]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed minor conversion warning
authorYann Collet <cyan@fb.com>
Mon, 28 Oct 2024 23:47:38 +0000 (16:47 -0700)
committerYann Collet <cyan@fb.com>
Mon, 28 Oct 2024 23:47:38 +0000 (16:47 -0700)
lib/compress/zstd_compress.c

index ca9e5edff4a3e15416ba2d3b47d13cfcd949719c..ea7a45fa7729bb7a3e81ce6824ed1ce618847920 100644 (file)
@@ -4521,7 +4521,7 @@ static size_t ZSTD_optimalBlockSize(ZSTD_CCtx* cctx, const void* src, size_t src
      * Note: as a consequence, the first full block is not split.
      */
     if (savings < 3) {
-        DEBUGLOG(6, "don't attempt splitting: savings (%lli) too low", savings);
+        DEBUGLOG(6, "don't attempt splitting: savings (%i) too low", (int)savings);
         return 128 KB;
     }
     /* apply @splitLevel, or use default value (which depends on @strat).