From 4399eed42e06ebcf0cfc8ef60350e0e98fc149a2 Mon Sep 17 00:00:00 2001 From: Bimba Shrestha Date: Fri, 13 Dec 2019 16:38:11 -0800 Subject: [PATCH] Adding explict cast to satisfy appveyor ci --- tests/fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3