aboutsummaryrefslogtreecommitdiff
path: root/uncompr.c
diff options
context:
space:
mode:
Diffstat (limited to 'uncompr.c')
-rw-r--r--uncompr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uncompr.c b/uncompr.c
index 2ec3eba..f3f883a 100644
--- a/uncompr.c
+++ b/uncompr.c
@@ -30,7 +30,7 @@ int ZEXPORT uncompress (dest, destLen, source, sourceLen)
30{ 30{
31 z_stream stream; 31 z_stream stream;
32 int err; 32 int err;
33 const uInt max = -1; 33 const uInt max = (uInt)0 - 1;
34 uLong left; 34 uLong left;
35 Byte buf[1]; /* for detection of incomplete stream when *destLen == 0 */ 35 Byte buf[1]; /* for detection of incomplete stream when *destLen == 0 */
36 36