From 8a27e29f7efa8177a598747b3e9acd8008b115c7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 09:28:35 +0200 Subject: log_message(): remove implicit cast warning. Michael --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3