X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2da2e9283771f20e4fb809709ea1c97c0636e455..a6d4e93cb55b2cdfbdcb84a57ff3a3609325ec47:/zlib/inflate.c?ds=sidebyside diff --git a/zlib/inflate.c b/zlib/inflate.c index 091b9a22..df2f9d66 100644 --- a/zlib/inflate.c +++ b/zlib/inflate.c @@ -1523,7 +1523,7 @@ z_streamp strm; { struct inflate_state FAR *state; - if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; + if (strm == Z_NULL || strm->state == Z_NULL) return ~0UL << 16; state = (struct inflate_state FAR *)strm->state; return ((long)(state->back) << 16) + (state->mode == COPY ? state->length :