summaryrefslogtreecommitdiffstats
path: root/src/file_gz.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-04 20:30:12 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-04 20:30:12 +0100
commitdbba3af27b57bc1771111d810e332fefb853052c (patch)
treebe6b18afb39722d38f96792cd2b5e4c46981b2a2 /src/file_gz.c
parenta31b420f697831d4a8e9811489ad07b0b99c3fa4 (diff)
Fix for C++ compilation
Diffstat (limited to 'src/file_gz.c')
-rw-r--r--src/file_gz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_gz.c b/src/file_gz.c
index 8f3eed8..46fa573 100644
--- a/src/file_gz.c
+++ b/src/file_gz.c
@@ -118,7 +118,7 @@ static int header_check_gz(const unsigned char *buffer, const unsigned int buffe
d_stream.zfree = (free_func)0;
d_stream.opaque = (voidpf)0;
- d_stream.next_in = buffer_compr;
+ d_stream.next_in = (Bytef*)buffer_compr;
d_stream.avail_in = 0;
d_stream.next_out = buffer_uncompr;