Commit fd60634e authored by Philip Kaufmann's avatar Philip Kaufmann
Browse files

harmonize printf format characters

- remove the "%" character from format characters for (s)size_t and
  ptrdiff_t and harmonize them with the ones for int64 and uint64
parent 026d1e97
Showing with 6 additions and 6 deletions
+6 -6
......@@ -56,13 +56,13 @@ static const int64 CENT = 1000000;
/* Format characters for (s)size_t and ptrdiff_t */
#if defined(_MSC_VER) || defined(__MSVCRT__)
#define PRIszx "%Ix"
#define PRIszu "%Iu"
#define PRIszd "%Id"
#define PRIszx "Ix"
#define PRIszu "Iu"
#define PRIszd "Id"
#else
#define PRIszx "%zx"
#define PRIszu "%zu"
#define PRIszd "%zd"
#define PRIszx "zx"
#define PRIszu "zu"
#define PRIszd "zd"
#endif
// This is needed because the foreach macro can't get over the comma in pair<t1, t2>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment