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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user