From: Yann Collet Date: Tue, 22 Nov 2022 14:00:45 +0000 (-0800) Subject: minor: proper pledgedSrcSize trace X-Git-Tag: v1.5.4^2~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ecd7601c36e8dc788c37121648c1769c7e8b4733;p=thirdparty%2Fzstd.git minor: proper pledgedSrcSize trace --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index c2926ab85..5bc7a9f3f 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -1097,7 +1097,7 @@ size_t ZSTD_CCtx_setParametersUsingCCtxParams( size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize) { - DEBUGLOG(4, "ZSTD_CCtx_setPledgedSrcSize to %u bytes", (U32)pledgedSrcSize); + DEBUGLOG(4, "ZSTD_CCtx_setPledgedSrcSize to %llu bytes", pledgedSrcSize); RETURN_ERROR_IF(cctx->streamStage != zcss_init, stage_wrong, "Can't set pledgedSrcSize when not in init stage."); cctx->pledgedSrcSizePlusOne = pledgedSrcSize+1;