From: Bimba Shrestha Date: Sat, 14 Dec 2019 00:38:11 +0000 (-0800) Subject: Adding explict cast to satisfy appveyor ci X-Git-Tag: v1.4.5^2~129^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4399eed42e06ebcf0cfc8ef60350e0e98fc149a2;p=thirdparty%2Fzstd.git Adding explict cast to satisfy appveyor ci --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index d413be040..47d0e012a 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -492,7 +492,7 @@ static int basicUnitTests(U32 const seed, double compressibility) DISPLAYLEVEL(3, "test%3d: superblock uncompressable data, too many nocompress superblocks : ", testNb++) { ZSTD_CCtx* cctx = ZSTD_createCCtx(); - BYTE* src = CNBuffer; BYTE* dst = compressedBuffer; + BYTE* src = (BYTE*)CNBuffer; BYTE* dst = (BYTE*)compressedBuffer; size_t srcSize = 321656; size_t dstCapacity = ZSTD_compressBound(srcSize); /* This is the number of bytes to stream before ending. This value