mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Fixed a warning on windows
This commit is contained in:
@@ -1125,7 +1125,7 @@ PVOID pAddress)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if _WIN64
|
#if _WIN64
|
||||||
pszCurrBuffer += sprintf(pszCurrBuffer, " = 0x%I64X", (DWORD64*)pAddress);
|
pszCurrBuffer += sprintf(pszCurrBuffer, " = 0x%I64X", (DWORD64)pAddress);
|
||||||
#else
|
#else
|
||||||
pszCurrBuffer += sprintf(pszCurrBuffer, " = 0x%X", (DWORD)pAddress);
|
pszCurrBuffer += sprintf(pszCurrBuffer, " = 0x%X", (DWORD)pAddress);
|
||||||
#endif
|
#endif
|
||||||
@@ -1136,7 +1136,7 @@ PVOID pAddress)
|
|||||||
__except (EXCEPTION_EXECUTE_HANDLER)
|
__except (EXCEPTION_EXECUTE_HANDLER)
|
||||||
{
|
{
|
||||||
#if _WIN64
|
#if _WIN64
|
||||||
pszCurrBuffer += sprintf(pszCurrBuffer, " <Unable to read memory> = %I64X", (DWORD64*)pAddress);
|
pszCurrBuffer += sprintf(pszCurrBuffer, " <Unable to read memory> = %I64X", (DWORD64)pAddress);
|
||||||
#else
|
#else
|
||||||
pszCurrBuffer += sprintf(pszCurrBuffer, " <Unable to read memory> = %X", (DWORD)pAddress);
|
pszCurrBuffer += sprintf(pszCurrBuffer, " <Unable to read memory> = %X", (DWORD)pAddress);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user