diff --git a/lib/zstd_opt.c b/lib/zstd_opt.c index bd7abfc71..8a9b1e2b1 100644 --- a/lib/zstd_opt.c +++ b/lib/zstd_opt.c @@ -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;