diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 14:50:42 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:28 +0200 |
commit | 50dbd61063b6775bc70ac8e8a6bc4eaf629c44aa (patch) | |
tree | c3ad220bcaef13fa0e6cf54ee87b377a9cedca51 /src | |
parent | e5e665b0c622827d51551218b41282dbfeb39650 (diff) | |
download | tinyproxy-50dbd61063b6775bc70ac8e8a6bc4eaf629c44aa.tar.gz tinyproxy-50dbd61063b6775bc70ac8e8a6bc4eaf629c44aa.zip |
buffer: add explicit cast in read_buffer().
Michael
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; |