buffer: add explicit cast in new_buffer().

Michael
This commit is contained in:
Michael Adam 2009-08-04 14:49:56 +02:00
parent 88dbe04c81
commit e5e665b0c6

View File

@ -113,7 +113,7 @@ new_buffer (void)
{ {
struct buffer_s *buffptr; struct buffer_s *buffptr;
buffptr = safemalloc (sizeof (struct buffer_s)); buffptr = (struct buffer_s *)safemalloc (sizeof (struct buffer_s));
if (!buffptr) if (!buffptr)
return NULL; return NULL;