X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/8ceb1addcda95b0733281ddc4d2062a0f03eefc6..3b5aab18755f719ad87a5aa849f265ebd445b2a9:/zlib/inflate.c diff --git a/zlib/inflate.c b/zlib/inflate.c index 4e9c07ce..3a945f3c 100644 --- a/zlib/inflate.c +++ b/zlib/inflate.c @@ -1523,7 +1523,8 @@ 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 (long)(((unsigned long)0 - 1) << 16); state = (struct inflate_state FAR *)strm->state; return ((long)(state->back) << 16) + (state->mode == COPY ? state->length :