From: Bimba Shrestha Date: Sat, 14 Dec 2019 00:50:21 +0000 (-0800) Subject: One more type conversion X-Git-Tag: v1.4.5^2~129^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=989ce13e190e446996379a96758b70562540ba26;p=thirdparty%2Fzstd.git One more type conversion --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index 47d0e012a..7880c5d43 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -511,7 +511,7 @@ static int basicUnitTests(U32 const seed, double compressibility) const size_t compressablePartSize = srcSize/3; const size_t uncompressablePartSize = srcSize-compressablePartSize; RDG_genBuffer(CNBuffer, compressablePartSize, 0.5, 0.5, seed); - RDG_genBuffer(CNBuffer+compressablePartSize, uncompressablePartSize, 0, 0, seed); + RDG_genBuffer((BYTE*)CNBuffer+compressablePartSize, uncompressablePartSize, 0, 0, seed); /* Setting target block size so that superblock is used */