Merge pull request #5624 from glaubitz/x32

Fix multiple issues with incorrect usage of format specifiers
This commit is contained in:
Lennart Poettering
2017-05-19 19:17:57 +02:00
committed by GitHub
4 changed files with 13 additions and 7 deletions
+6
View File
@@ -54,6 +54,12 @@
# error Unknown time_t size
#endif
#if defined __x86_64__ && defined __ILP32__
# define PRI_TIMEX PRIi64
#else
# define PRI_TIMEX "li"
#endif
#if SIZEOF_RLIM_T == 8
# define RLIM_FMT "%" PRIu64
#elif SIZEOF_RLIM_T == 4