From: Yann Collet Date: Fri, 14 Dec 2018 00:50:19 +0000 (-0800) Subject: fixed tests X-Git-Tag: v1.3.8~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96adc846c5487018bfd96714f726dd98f8f6bfe7;p=thirdparty%2Fzstd.git fixed tests with correct pointer type --- 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) );