From ff2f888d56b540823aacfff4f89f313a64c02fb9 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 29 Dec 2020 11:44:37 -0800 Subject: [PATCH] fixed one more minor cast issue can't use address calculation with `void*` --- tests/fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzzer.c b/tests/fuzzer.c index d8199300..88c879c6 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -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;