aboutsummaryrefslogtreecommitdiff
path: root/inflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'inflate.c')
-rw-r--r--inflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inflate.c b/inflate.c
index 9ee84d0..2f3fcc9 100644
--- a/inflate.c
+++ b/inflate.c
@@ -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 :