diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 08:38:41 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 08:38:41 +0200 |
commit | 05d1b2b372243d106a8a22d771a20542675e0048 (patch) | |
tree | a26f0642399ee2a1d616d7cbe61968dd6f7cded6 /src/stats.c | |
parent | 3127baa4c640c4e87aadbf642febdb43a4822ca1 (diff) |
showstats(): fix an implicit cast warning.
Michael
Diffstat (limited to 'src/stats.c')
-rw-r--r-- | src/stats.c | 2 |
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; |