From 515685ce18066ca24a2dba08f861b7eda910fd54 Mon Sep 17 00:00:00 2001 From: Gregor Weiss Date: Wed, 24 Apr 2024 16:17:25 +0000 Subject: [PATCH] fixed warning: format specifies type 'int' but the argument has type 'uint64' (aka 'unsigned long') [-Wformat] --- src/tools/bwccmdl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/bwccmdl.c b/src/tools/bwccmdl.c index 672d973..31dbb06 100644 --- a/src/tools/bwccmdl.c +++ b/src/tools/bwccmdl.c @@ -2951,11 +2951,11 @@ main(int argc, printf("----------------- Compression Parameters -----------------\n\n"); if((control->CSsgc &0x200) != 0) { - printf(" Number of Tiles: %27d\n", control->nTiles); + printf(" Number of Tiles: %27lu\n", control->nTiles); printf(" - Samples in 1.D: %27ld\n", control->tileSizeX); printf(" - Samples in 2.D: %27ld\n", control->tileSizeY); printf(" - Samples in 3.D: %27ld\n", control->tileSizeZ); - printf(" - Timesteps: %27d\n", control->tileSizeTS); + printf(" - Timesteps: %27lu\n", control->tileSizeTS); printf(" ..........................................................\n"); printf("\n"); } @@ -3219,4 +3219,4 @@ OUT: fclose(stderr); return error_handle; -} \ No newline at end of file +}