From ce6730a7402e46444495208a88095f62ab7d7bc9 Mon Sep 17 00:00:00 2001 From: inikep Date: Tue, 9 Feb 2016 23:26:30 +0100 Subject: [PATCH] fix for ZSTD_HcGetAllMatches_generic --- lib/zstd_opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2