One more type conversion

This commit is contained in:
Bimba Shrestha 2019-12-13 16:50:21 -08:00
parent 4399eed42e
commit 989ce13e19

View File

@ -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 */