summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-05-06 19:16:44 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-05-06 19:16:44 +0200
commit4219186504a1bc4b77a4223977fef8dd6c8bcf20 (patch)
treed42770cc249284e82d259ad8ba7b4555de33d8a0 /tests
parent9684e7f99a63ade1c30c354061db40fc43ae9a9c (diff)
parentb38a4c1ea8fdd1b114c278d62f93803757a23bba (diff)
downloadpgfuse-4219186504a1bc4b77a4223977fef8dd6c8bcf20.tar.gz
pgfuse-4219186504a1bc4b77a4223977fef8dd6c8bcf20.tar.bz2
Merge branch 'master' of github.com:andreasbaumann/pgfuse
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 */