Shared/Logging: Use standard format specifier for size_t

Use standard format specified PRIuPTR for printing/logging size_t type that can be either uint32_t or uint64_t depending on platform/build configuration
This commit is contained in:
jackpoz
2014-09-18 21:24:40 +02:00
parent 31656c0213
commit 08069dfba7

View File

@@ -88,11 +88,7 @@
#define SI64FMTD "%" PRId64
#define SI64LIT(N) INT64_C(N)
#if COMPILER == COMPILER_MICROSOFT
# define SZFMTD "%Iu"
#else
# define SZFMTD "%zu"
#endif
#define SZFMTD "%" PRIuPTR
typedef int64_t int64;
typedef int32_t int32;