aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-08 20:30:03 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-10 18:44:32 +0100
commit057c208b6fccfabe56b035a19666ddf0c777aeec (patch)
tree2db2f8a8dcebcbdfe587a12d66f499e7a84dffe2 /include
parentdfab234dfae735103d2e5206b0f335c8449ee3d5 (diff)
Fix the printf format specifies (again)
The PRIu64 et al are missing a "%" sign in front. Fixes: aaf7e68c75a907c3c08e83dfd2972665a0f1c1a3 Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/compat.h b/include/compat.h
index b67d27f..b2bb054 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -36,8 +36,8 @@
# define PRI_U32 "%I32u"
#else
# include <inttypes.h>
-# define PRI_U64 PRIu64
-# define PRI_U32 PRIu32
+# define PRI_U64 "%" PRIu64
+# define PRI_U32 "%" PRIu32
#endif
#if SIZEOF_SIZE_T <= SIZEOF_INT