From 05d1b2b372243d106a8a22d771a20542675e0048 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 08:38:41 +0200 Subject: showstats(): fix an implicit cast warning. Michael --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3