From: W. Felix Handte Date: Thu, 10 Sep 2020 23:19:39 +0000 (-0400) Subject: Fix Debug Logging in 32-bit Build X-Git-Tag: v1.4.7~80^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6df3fd43846ac78edebc26d815ae8a7df8564af;p=thirdparty%2Fzstd.git Fix Debug Logging in 32-bit Build --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index 2c37bb0f3..579aeed94 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -2955,7 +2955,7 @@ static int basicUnitTests(U32 const seed, double compressibility) int const enableDDS = enableDedicatedDictSearch[i]; ZSTD_CDict* cdict; - DISPLAYLEVEL(5, "\n dictSize %lu cLevel %d iter %d ", dictSize, cLevel, i); + DISPLAYLEVEL(5, "\n dictSize %u cLevel %d iter %d ", (U32)dictSize, cLevel, i); ZSTD_CCtxParams_init(cctx_params, cLevel); CHECK_Z(ZSTD_CCtxParams_setParameter(cctx_params, ZSTD_c_enableDedicatedDictSearch, enableDDS)); @@ -2970,7 +2970,7 @@ static int basicUnitTests(U32 const seed, double compressibility) CHECK_Z(cSize); CHECK_Z(ZSTD_decompress_usingDict(dctx, decodedBuffer, CNBuffSize, compressedBuffer, cSize, dict, dictSize)); - DISPLAYLEVEL(5, "compressed to %lu bytes ", cSize); + DISPLAYLEVEL(5, "compressed to %u bytes ", (U32)cSize); CHECK_Z(ZSTD_CCtx_reset(cctx, ZSTD_reset_session_and_parameters)); ZSTD_freeCDict(cdict);