]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix for ZSTD_HcGetAllMatches_generic 125/head
authorinikep <inikep@gmail.com>
Tue, 9 Feb 2016 22:26:30 +0000 (23:26 +0100)
committerinikep <inikep@gmail.com>
Tue, 9 Feb 2016 22:26:30 +0000 (23:26 +0100)
lib/zstd_opt.c

index bd7abfc715639f5cde916e200ac33d7fc6c8b9ca..8a9b1e2b1497fd9a42a7b9386448e5016817d5cc 100644 (file)
@@ -364,7 +364,7 @@ U32 ZSTD_HcGetAllMatches_generic (
 
     while ((matchIndex>lowLimit) && (nbAttempts)) {
         size_t currentMl=0;
-        U32 back = 0;
+        int back = 0;
         nbAttempts--;
         if ((!extDict) || matchIndex >= dictLimit) {
             match = base + matchIndex;