1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

Casting void pointer to ZSTD_Sequence pointer

This commit is contained in:
Bimba Shrestha
2019-09-17 17:44:08 -07:00
parent 76fea3fb99
commit 3cacc0a30b

View File

@ -1965,7 +1965,7 @@ static int basicUnitTests(U32 const seed, double compressibility)
assert(cctx != NULL);
DISPLAYLEVEL(3, "test%3i : ZSTD_getSequences zeros : ", testNb++);
memset(CNBuffer, 0, 1000000);
assert(ZSTD_getSequences(cctx, compressedBuffer, 1000000,
assert(ZSTD_getSequences(cctx, (ZSTD_Sequence*)compressedBuffer, 1000000,
CNBuffer, 1000000) == 1000000 / 131071 + 1);
ZSTD_freeCCtx(cctx);
}