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:
@ -1584,7 +1584,7 @@ static int basicUnitTests(U32 const seed, double compressibility)
|
|||||||
if (i == segs/2) {
|
if (i == segs/2) {
|
||||||
/* insert skippable frame */
|
/* insert skippable frame */
|
||||||
size_t const skippableSize =
|
size_t const skippableSize =
|
||||||
ZSTD_writeSkippableFrame(compressedBuffer + off, compressedBufferSize,
|
ZSTD_writeSkippableFrame((BYTE*)compressedBuffer + off, compressedBufferSize,
|
||||||
skipBuff, skipLen, seed % 15);
|
skipBuff, skipLen, seed % 15);
|
||||||
CHECK_Z(skippableSize);
|
CHECK_Z(skippableSize);
|
||||||
off += skippableSize;
|
off += skippableSize;
|
||||||
|
Reference in New Issue
Block a user