From b6df3fd43846ac78edebc26d815ae8a7df8564af Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Thu, 10 Sep 2020 19:19:39 -0400 Subject: [PATCH] Fix Debug Logging in 32-bit Build --- tests/fuzzer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3