summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-04 14:49:56 +0200
committerMichael Adam <obnox@samba.org>2009-08-04 23:47:27 +0200
commite5e665b0c622827d51551218b41282dbfeb39650 (patch)
treeaffe14b675dae1d4cf51c8d36af4cf98f2053d53
parent88dbe04c818633bff3f2f8ca5cd3b99545c2e056 (diff)
buffer: add explicit cast in new_buffer().
Michael
-rw-r--r--src/buffer.c2
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;