summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 09:28:35 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 09:28:35 +0200
commit8a27e29f7efa8177a598747b3e9acd8008b115c7 (patch)
treeb392200b7598f6bbb027c3780722770f25a361f8 /src
parent87f5657db01d321706c79d232919f0c8c5432853 (diff)
downloadtinyproxy-8a27e29f7efa8177a598747b3e9acd8008b115c7.tar.gz
tinyproxy-8a27e29f7efa8177a598747b3e9acd8008b115c7.zip
log_message(): remove implicit cast warning.
Michael
Diffstat (limited to '')
-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;