diff options
Diffstat (limited to 'uncompr.c')
-rw-r--r-- | uncompr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ int ZEXPORT uncompress (dest, destLen, source, sourceLen) { z_stream stream; int err; - const uInt max = -1; + const uInt max = (uInt)0 - 1; uLong left; Byte buf[1]; /* for detection of incomplete stream when *destLen == 0 */ |