Fixing appveyor test
This commit is contained in:
parent
75b1286354
commit
91daee5c06
@ -1987,10 +1987,11 @@ static int basicUnitTests(U32 const seed, double compressibility)
|
|||||||
BYTE* decoded = (BYTE*)compressedBuffer;
|
BYTE* decoded = (BYTE*)compressedBuffer;
|
||||||
|
|
||||||
ZSTD_CCtx* cctx = ZSTD_createCCtx();
|
ZSTD_CCtx* cctx = ZSTD_createCCtx();
|
||||||
ZSTD_Sequence* seqs = malloc(srcSize * sizeof(ZSTD_Sequence));
|
ZSTD_Sequence* seqs = (ZSTD_Sequence*)malloc(srcSize * sizeof(ZSTD_Sequence));
|
||||||
size_t seqsSize; size_t i;
|
size_t seqsSize; size_t i;
|
||||||
U32 randSeed = seed;
|
U32 randSeed = seed;
|
||||||
|
|
||||||
|
if (seqs == NULL) goto _output_error;
|
||||||
assert(cctx != NULL);
|
assert(cctx != NULL);
|
||||||
|
|
||||||
/* Populate src with random data */
|
/* Populate src with random data */
|
||||||
|
Loading…
Reference in New Issue
Block a user