mirror of
https://github.com/encounter/mototools.git
synced 2026-03-30 11:30:04 -07:00
14 lines
484 B
Diff
14 lines
484 B
Diff
diff --git a/src/inflate.c b/src/inflate.c
|
|
index 870f89b..c6f9daa 100644
|
|
--- a/src/inflate.c
|
|
+++ b/src/inflate.c
|
|
@@ -1504,7 +1504,7 @@ z_streamp strm;
|
|
{
|
|
struct inflate_state FAR *state;
|
|
|
|
- if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
|
|
+ if (strm == Z_NULL || strm->state == Z_NULL) return (unsigned)-1L << 16;
|
|
state = (struct inflate_state FAR *)strm->state;
|
|
return ((long)(state->back) << 16) +
|
|
(state->mode == COPY ? state->length :
|