]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
minor: proper pledgedSrcSize trace
authorYann Collet <cyan@fb.com>
Tue, 22 Nov 2022 14:00:45 +0000 (06:00 -0800)
committerYann Collet <cyan@fb.com>
Tue, 22 Nov 2022 14:00:45 +0000 (06:00 -0800)
lib/compress/zstd_compress.c

index c2926ab85ecacd48faf7367f04f1bbb90927a0f9..5bc7a9f3faace1f79d8aab61a4a62050fa7de357 100644 (file)
@@ -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;