diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/3rdparty/zlib/deflate.c')
-rw-r--r-- | experimental/tqtinterface/qt4/src/3rdparty/zlib/deflate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/tqtinterface/qt4/src/3rdparty/zlib/deflate.c b/experimental/tqtinterface/qt4/src/3rdparty/zlib/deflate.c index 87d2da14e..c7f75a3ec 100644 --- a/experimental/tqtinterface/qt4/src/3rdparty/zlib/deflate.c +++ b/experimental/tqtinterface/qt4/src/3rdparty/zlib/deflate.c @@ -873,7 +873,7 @@ local uInt longest_match(s, cur_match) * we prevent matches with the string of window index 0. */ Posf *prev = s->prev; - uInt wtqmask = s->w_mask; + uInt wmask = s->w_mask; #ifdef UNALIGNED_OK /* Compare two bytes at a time. Note: this is not always beneficial. @@ -988,7 +988,7 @@ local uInt longest_match(s, cur_match) scan_end = scan[best_len]; #endif } - } while ((cur_match = prev[cur_match & wtqmask]) > limit + } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length != 0); if ((uInt)best_len <= s->lookahead) return (uInt)best_len; |