mirror of
https://github.com/facebook/zstd.git
synced 2025-12-21 00:04:29 -05:00
fix for ZSTD_HcGetAllMatches_generic
This commit is contained in:
parent
be77f3342d
commit
ce6730a740
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user