mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user