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 2fbfcc0..f03a1a8 100644
--- a/uncompr.c
+++ b/uncompr.c
@@ -32,7 +32,7 @@ int ZEXPORT uncompress2 (dest, destLen, source, sourceLen)
32{ 32{
33 z_stream stream; 33 z_stream stream;
34 int err; 34 int err;
35 const uInt max = (uInt)0 - 1; 35 const uInt max = (uInt)-1;
36 uLong len, left; 36 uLong len, left;
37 Byte buf[1]; /* for detection of incomplete stream when *destLen == 0 */ 37 Byte buf[1]; /* for detection of incomplete stream when *destLen == 0 */
38 38