From 23b09947c6b7d0cf0e05df573fc1658d6d0467c1 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 4 Aug 2009 15:30:30 +0200 Subject: conffile: add explicit cast in get_string_arg(). Michael --- src/conffile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conffile.c b/src/conffile.c index dca63e2..bba48a6 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -323,7 +323,7 @@ get_string_arg (const char *line, regmatch_t * match) assert (line); assert (len > 0); - p = safemalloc (len + 1); + p = (char *)safemalloc (len + 1); if (!p) return NULL; -- cgit v1.2.3