From: Yann Collet Date: Thu, 7 Jun 2018 23:59:33 +0000 (-0700) Subject: fixed minor conversion warning X-Git-Tag: v1.3.5~3^2~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56961e4cedee3ed5e7d9a9932226948efdc7b89b;p=thirdparty%2Fzstd.git fixed minor conversion warning --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index f72abca73..9b4cd58d5 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -1131,7 +1131,7 @@ static int basicUnitTests(U32 seed, double compressibility) params); if (ZSTD_isError(cSize_1pass)) goto _output_error; - CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_compressionLevel, compressionLevel) ); + CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_compressionLevel, (unsigned)compressionLevel) ); { ZSTD_inBuffer in = { CNBuffer, srcSize, 0 }; ZSTD_outBuffer out = { compressedBuffer, compressedBufferSize, 0 }; size_t const compressionResult = ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end);