summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;