Fix Typo
This commit is contained in:
parent
a075864756
commit
ce743312e2
@ -560,7 +560,7 @@ U32 ZSTD_insertBtAndGetAllMatches (
|
|||||||
& (((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overlapping 2 memory segments */)) {
|
& (((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overlapping 2 memory segments */)) {
|
||||||
const BYTE* const repMatch = dmsBase + repIndex - dmsIndexDelta;
|
const BYTE* const repMatch = dmsBase + repIndex - dmsIndexDelta;
|
||||||
if (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) {
|
if (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) {
|
||||||
repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) + minMatch;
|
repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + minMatch;
|
||||||
} } }
|
} } }
|
||||||
/* save longer solution */
|
/* save longer solution */
|
||||||
if (repLen > bestLength) {
|
if (repLen > bestLength) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user