buffer: add explicit cast in new_buffer().
Michael
This commit is contained in:
parent
88dbe04c81
commit
e5e665b0c6
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user