diff options
Diffstat (limited to 'inflate.c')
-rw-r--r-- | inflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1555,7 +1555,7 @@ unsigned long ZEXPORT inflateCodesUsed(strm) | |||
1555 | z_streamp strm; | 1555 | z_streamp strm; |
1556 | { | 1556 | { |
1557 | struct inflate_state FAR *state; | 1557 | struct inflate_state FAR *state; |
1558 | if (inflateStateCheck(strm)) return (unsigned long)0 - 1; | 1558 | if (inflateStateCheck(strm)) return (unsigned long)-1; |
1559 | state = (struct inflate_state FAR *)strm->state; | 1559 | state = (struct inflate_state FAR *)strm->state; |
1560 | return (unsigned long)(state->next - state->codes); | 1560 | return (unsigned long)(state->next - state->codes); |
1561 | } | 1561 | } |