diff options
Diffstat (limited to 'test/istore.c')
-rw-r--r-- | test/istore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/istore.c b/test/istore.c index 0bd1c90..c840a1f 100644 --- a/test/istore.c +++ b/test/istore.c @@ -53,14 +53,14 @@ print_array(uint8_t *array, size_t nx, size_t ny, size_t nz) for (i = 0; i < nx; i++) { if (nz > 1) { - printf("i=%d:\n", i); + printf("i=%lu:\n", (unsigned long)i); } else { - printf("%03d:", i); + printf("%03lu:", (unsigned long)i); } for (j = 0; j < ny; j++) { if (nz > 1) - printf("%03d:", j); + printf("%03lu:", (unsigned long)j); for (k = 0; k < nz; k++) { printf(" %3d", *array++); } |