summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/zenutils/libraries/zlib123/zlib/inflate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/zenutils/libraries/zlib123/zlib/inflate.c b/utils/zenutils/libraries/zlib123/zlib/inflate.c
index c3e606812c..792fdee8e9 100644
--- a/utils/zenutils/libraries/zlib123/zlib/inflate.c
+++ b/utils/zenutils/libraries/zlib123/zlib/inflate.c
@@ -1134,7 +1134,7 @@ int flush;
1134 RESTORE(); 1134 RESTORE();
1135 if (state->wsize || (state->mode < CHECK && out != strm->avail_out)) 1135 if (state->wsize || (state->mode < CHECK && out != strm->avail_out))
1136 if (updatewindow(strm, out)) { 1136 if (updatewindow(strm, out)) {
1137 state->mode = MEMORYSIZE; 1137 state->mode = MEM;
1138 return Z_MEM_ERROR; 1138 return Z_MEM_ERROR;
1139 } 1139 }
1140 in -= strm->avail_in; 1140 in -= strm->avail_in;
@@ -1190,7 +1190,7 @@ uInt dictLength;
1190 1190
1191 /* copy dictionary to window */ 1191 /* copy dictionary to window */
1192 if (updatewindow(strm, strm->avail_out)) { 1192 if (updatewindow(strm, strm->avail_out)) {
1193 state->mode = MEMORYSIZE; 1193 state->mode = MEM;
1194 return Z_MEM_ERROR; 1194 return Z_MEM_ERROR;
1195 } 1195 }
1196 if (dictLength > state->wsize) { 1196 if (dictLength > state->wsize) {