diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2013-03-16 23:32:26 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2013-03-16 23:32:26 +0530 |
commit | a5a7a324479203b18c20b984cc7740e07bec7e11 (patch) | |
tree | ae17e59cba538be3269bb25cd87fbf4f46916983 /builtin_printf.cpp | |
parent | 42be7733fe9b214be187eb7b3719a00b0f43d07d (diff) |
Use fixed value "lld" instead of PRIdMAX
Diffstat (limited to 'builtin_printf.cpp')
-rw-r--r-- | builtin_printf.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/builtin_printf.cpp b/builtin_printf.cpp index f184c2ad..c63231ae 100644 --- a/builtin_printf.cpp +++ b/builtin_printf.cpp @@ -66,8 +66,6 @@ # define ISDIGIT(c) ((unsigned int) (c) - L'0' <= 9) -# define PRIdMAX L"ld" - static int exit_code; /* True if the POSIXLY_CORRECT environment variable is set. */ @@ -314,8 +312,8 @@ static void print_direc (const wchar_t *start, size_t length, wchar_t conversion switch (conversion) { case L'd': case L'i': - length_modifier = PRIdMAX; - length_modifier_len = sizeof PRIdMAX - 2; + length_modifier = L"lld"; + length_modifier_len = sizeof L"lld" - 2; break; case L'a': case L'e': case L'f': case L'g': case L'A': case L'E': case L'F': case L'G': |