summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index ee405fd..6528c1e 100644
--- a/src/log.c
+++ b/src/log.c
@@ -153,7 +153,7 @@ log_message (int level, const char *fmt, ...)
vsnprintf (str, STRING_LENGTH, fmt, args);
- entry_buffer = safemalloc (strlen (str) + 6);
+ entry_buffer = (char *)safemalloc (strlen (str) + 6);
if (!entry_buffer)
goto out;