From e5e665b0c622827d51551218b41282dbfeb39650 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 4 Aug 2009 14:49:56 +0200 Subject: buffer: add explicit cast in new_buffer(). Michael --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index aa9ef84..bfb7200 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -113,7 +113,7 @@ new_buffer (void) { struct buffer_s *buffptr; - buffptr = safemalloc (sizeof (struct buffer_s)); + buffptr = (struct buffer_s *)safemalloc (sizeof (struct buffer_s)); if (!buffptr) return NULL; -- cgit v1.2.3