From: Yann Collet Date: Tue, 29 Dec 2020 19:44:37 +0000 (-0800) Subject: fixed one more minor cast issue X-Git-Tag: v1.4.9^2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2f888d56b540823aacfff4f89f313a64c02fb9;p=thirdparty%2Fzstd.git fixed one more minor cast issue can't use address calculation with `void*` --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index d8199300b..88c879c6c 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;