diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 14:49:56 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:27 +0200 |
commit | e5e665b0c622827d51551218b41282dbfeb39650 (patch) | |
tree | affe14b675dae1d4cf51c8d36af4cf98f2053d53 /src/buffer.c | |
parent | 88dbe04c818633bff3f2f8ca5cd3b99545c2e056 (diff) |
buffer: add explicit cast in new_buffer().
Michael
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |