1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

fixed one more minor cast issue

can't use address calculation with `void*`
This commit is contained in:
Yann Collet
2020-12-29 11:44:37 -08:00
parent 7f8be046b9
commit ff2f888d56

View File

@ -1584,7 +1584,7 @@ static int basicUnitTests(U32 const seed, double compressibility)
if (i == segs/2) {
/* insert skippable frame */
size_t const skippableSize =
ZSTD_writeSkippableFrame(compressedBuffer + off, compressedBufferSize,
ZSTD_writeSkippableFrame((BYTE*)compressedBuffer + off, compressedBufferSize,
skipBuff, skipLen, seed % 15);
CHECK_Z(skippableSize);
off += skippableSize;