fix for ZSTD_HcGetAllMatches_generic

This commit is contained in:
inikep 2016-02-09 23:26:30 +01:00
parent be77f3342d
commit ce6730a740

View File

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