diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testtypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtypes.c b/tests/testtypes.c index d8b3147..0f0cd27 100644 --- a/tests/testtypes.c +++ b/tests/testtypes.c @@ -18,7 +18,7 @@ int main(void) off_t offset=TYPE_MAX(off_t); /* Depends on _FILE_OFFSET_BITS */ size_t size=TYPE_MAX(size_t); /* Depends on int size */ - printf("native int bits%20u %16x\n", sizeof(int)*CHAR_BIT, UINT_MAX); + printf("native int bits%20"PRIu64" %16"PRIx32"\n", sizeof(int)*CHAR_BIT, UINT_MAX); printf("uint32_t max %20"PRIu32" %16"PRIx32"\n" "uint64_t max %20"PRIu64" %16"PRIx64"\n" "off_t max %20jd %16jx\n" /* try PRIdMAX if %jd unsupported */ |