aboutsummaryrefslogtreecommitdiff
path: root/include/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat.h')
-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