From 96adc846c5487018bfd96714f726dd98f8f6bfe7 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 13 Dec 2018 16:50:19 -0800 Subject: [PATCH] fixed tests with correct pointer type --- tests/zstreamtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index db2182bf9..5e582752e 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -836,7 +836,7 @@ static int basicUnitTests(U32 seed, double compressibility) /* Basic multithreading compression test */ DISPLAYLEVEL(3, "test%3i : compress %u bytes with multiple threads : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); { ZSTD_parameters const params = ZSTD_getParams(1, 0, 0); - unsigned jobSize; + int jobSize; CHECK_Z( ZSTDMT_getMTCtxParameter(mtctx, ZSTDMT_p_jobSize, &jobSize)); CHECK(jobSize != 0, "job size non-zero"); CHECK_Z( ZSTDMT_initCStream_advanced(mtctx, CNBuffer, dictSize, params, CNBufferSize) ); -- 2.47.2