summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:38:41 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:38:41 +0200
commit05d1b2b372243d106a8a22d771a20542675e0048 (patch)
treea26f0642399ee2a1d616d7cbe61968dd6f7cded6
parent3127baa4c640c4e87aadbf642febdb43a4822ca1 (diff)
downloadtinyproxy-05d1b2b372243d106a8a22d771a20542675e0048.tar.gz
tinyproxy-05d1b2b372243d106a8a22d771a20542675e0048.zip
showstats(): fix an implicit cast warning.
Michael
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index e45cf59..eb843fa 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -93,7 +93,7 @@ showstats (struct conn_s *connptr)
if (!config.statpage || (!(statfile = fopen (config.statpage, "r"))))
{
- message_buffer = safemalloc (MAXBUFFSIZE);
+ message_buffer = (char *)safemalloc (MAXBUFFSIZE);
if (!message_buffer)
return -1;