]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - zlib/inflate.c
Revert "dbg: Watchdog resets while 'hw tune lf'"
[proxmark3-svn] / zlib / inflate.c
index 091b9a22fe87d53992535cf57fa2a2099c4fb61b..df2f9d6602201272c19e50ed7e84bca149f743eb 100644 (file)
@@ -1523,7 +1523,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 ~0UL << 16;
     state = (struct inflate_state FAR *)strm->state;
     return ((long)(state->back) << 16) +
         (state->mode == COPY ? state->length :
Impressum, Datenschutz