fixed warning: format specifies type 'int' but the argument has type 'uint64' (aka 'unsigned long') [-Wformat]

This commit is contained in:
Gregor Weiss 2024-04-24 16:17:25 +00:00
parent 15cc9628d6
commit 515685ce18

View file

@ -2951,11 +2951,11 @@ main(int argc,
printf("----------------- Compression Parameters -----------------\n\n"); printf("----------------- Compression Parameters -----------------\n\n");
if((control->CSsgc &0x200) != 0) 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 1.D: %27ld\n", control->tileSizeX);
printf(" - Samples in 2.D: %27ld\n", control->tileSizeY); printf(" - Samples in 2.D: %27ld\n", control->tileSizeY);
printf(" - Samples in 3.D: %27ld\n", control->tileSizeZ); 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");
printf("\n"); printf("\n");
} }