summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-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;