I will revers my change.

This commit is contained in:
Matthias Melcher 2020-01-04 00:26:19 +01:00
parent 5bb880dfa2
commit ebec2629a2

View File

@ -1504,8 +1504,7 @@ z_streamp strm;
{ {
struct inflate_state FAR *state; struct inflate_state FAR *state;
if (strm == Z_NULL || strm->state == Z_NULL) if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
return ((unsigned)-1L) << 16;
state = (struct inflate_state FAR *)strm->state; state = (struct inflate_state FAR *)strm->state;
return ((long)(state->back) << 16) + return ((long)(state->back) << 16) +
(state->mode == COPY ? state->length : (state->mode == COPY ? state->length :