diff options
Diffstat (limited to '')
-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 bfb7200..796e20a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -236,7 +236,7 @@ read_buffer (int fd, struct buffer_s * buffptr) if (buffptr->size >= MAXBUFFSIZE) return 0; - buffer = safemalloc (READ_BUFFER_SIZE); + buffer = (unsigned char *)safemalloc (READ_BUFFER_SIZE); if (!buffer) { return -ENOMEM; |