showstats(): fix an implicit cast warning.

Michael
This commit is contained in:
Michael Adam 2009-08-07 08:38:41 +02:00
parent 3127baa4c6
commit 05d1b2b372

View File

@ -93,7 +93,7 @@ showstats (struct conn_s *connptr)
if (!config.statpage || (!(statfile = fopen (config.statpage, "r")))) if (!config.statpage || (!(statfile = fopen (config.statpage, "r"))))
{ {
message_buffer = safemalloc (MAXBUFFSIZE); message_buffer = (char *)safemalloc (MAXBUFFSIZE);
if (!message_buffer) if (!message_buffer)
return -1; return -1;