Skip to content

Commit

Permalink
fixed minor error in preparation of one fullbench scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan4973 committed Dec 19, 2024
1 parent 6f3a7cc commit 9462395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fullbench.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9462395

Please sign in to comment.