]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Adding explict cast to satisfy appveyor ci
authorBimba Shrestha <bimbashrestha@fb.com>
Sat, 14 Dec 2019 00:38:11 +0000 (16:38 -0800)
committerBimba Shrestha <bimbashrestha@fb.com>
Sat, 14 Dec 2019 00:38:11 +0000 (16:38 -0800)
tests/fuzzer.c

index d413be04084b0ecbf1574d70af662e4a5f958dd5..47d0e012a0b5fecce7fe8f9c41418c03adfbf235 100644 (file)
@@ -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