summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-05-06 13:21:51 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-05-06 13:21:51 +0200
commitb38a4c1ea8fdd1b114c278d62f93803757a23bba (patch)
treefe2d857ab59d8df6e72276b3b189eec7a97289ad /tests
parent9339779524134a2f5fa1197659569672a2f06f56 (diff)
downloadpgfuse-b38a4c1ea8fdd1b114c278d62f93803757a23bba.tar.gz
pgfuse-b38a4c1ea8fdd1b114c278d62f93803757a23bba.tar.bz2
small fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/testtypes.c2
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 */