summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conffile.c2
1 files changed, 1 insertions, 1 deletions
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;