From d1bb9c2821cfd9985a70f84143a7f0bdedc00df7 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 16 Jul 2009 09:05:18 +0800 Subject: [8166] Add support for 32-bit hex format in addition to 64-bit version Author: VladimirMangos --HG-- branch : trunk --- src/shared/Common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/Common.h') diff --git a/src/shared/Common.h b/src/shared/Common.h index 4e5b16e9df6..a274c5d5a0b 100644 --- a/src/shared/Common.h +++ b/src/shared/Common.h @@ -130,6 +130,7 @@ #include +#define I32FMT "%08I32X" #define I64FMT "%016I64X" #define snprintf _snprintf #define atoll __atoi64 @@ -141,6 +142,7 @@ #define stricmp strcasecmp #define strnicmp strncasecmp +#define I32FMT "%08X" #define I64FMT "%016llX" #endif -- cgit v1.2.3