diff options
Diffstat (limited to 'inflate.c')
-rw-r--r-- | inflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1526,7 +1526,7 @@ z_streamp strm; | |||
1526 | struct inflate_state FAR *state; | 1526 | struct inflate_state FAR *state; |
1527 | 1527 | ||
1528 | if (strm == Z_NULL || strm->state == Z_NULL) | 1528 | if (strm == Z_NULL || strm->state == Z_NULL) |
1529 | return (long)(((unsigned long)0 - 1) << 16); | 1529 | return -(1L << 16); |
1530 | state = (struct inflate_state FAR *)strm->state; | 1530 | state = (struct inflate_state FAR *)strm->state; |
1531 | return (long)(((unsigned long)((long)state->back)) << 16) + | 1531 | return (long)(((unsigned long)((long)state->back)) << 16) + |
1532 | (state->mode == COPY ? state->length : | 1532 | (state->mode == COPY ? state->length : |