summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
struct inflate_state FAR *state;
if (strm == Z_NULL || strm->state == Z_NULL)
- return (long)(((unsigned long)0 - 1) << 16);
+ return -(1L << 16);
state = (struct inflate_state FAR *)strm->state;
return (long)(((unsigned long)((long)state->back)) << 16) +
(state->mode == COPY ? state->length :