summaryrefslogtreecommitdiffstats
path: root/src/file_gz.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-03-25 08:45:56 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-03-25 08:45:56 +0100
commit2ea8b8e3782b59762594fb7e58f3a579cf93334b (patch)
tree1869f96b72e64f86c2ebfef75eaa17ba2e1127b8 /src/file_gz.c
parent52e20a3de5aa856b0bad8c197d96888618672c68 (diff)
Compilation fix
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 0b694e7..157774d 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
const unsigned char *buffer_compr=buffer+off;
unsigned char buffer_uncompr[512];
const unsigned int comprLen=(buffer_size<512?buffer_size:512)-off;
- unsigned int uncomprLen=512-1;
+ const unsigned int uncomprLen=512-1;
z_stream d_stream; /* decompression stream */
d_stream.zalloc = (alloc_func)0;
d_stream.zfree = (free_func)0;