mirror of
https://github.com/facebook/zstd.git
synced 2025-11-28 00:04:28 -05:00
fixed minor error in preparation of one fullbench scenario
This commit is contained in:
parent
ab0f1798e8
commit
52a9bc6fca
@ -594,7 +594,7 @@ static PrepResult prepSequencesAndLiterals(const void* src, size_t srcSize, int
|
||||
for (n=0; n<nbSeqs; n++) {
|
||||
size_t const litSize = seqs[n].litLength;
|
||||
memcpy(litStart + nbLiterals, ip, litSize);
|
||||
ip += litSize;
|
||||
ip += litSize + seqs[n].matchLength;
|
||||
nbLiterals += litSize;
|
||||
}
|
||||
MEM_write32((char*)prepBuffer+8, (U32)nbLiterals);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user