diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2017-10-09 19:19:18 +0200 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-10-12 16:17:07 +0200 |
| commit | ac0e8438f99e5c97de143725c85d6a46ec65c008 (patch) | |
| tree | 384a4c9db99fcafb272a7b36af54bf4cbf521c6a | |
| parent | 0f5ff1db7e51de9c81df6c101098fc8014b84217 (diff) | |
Fixed a warning on windows
| -rw-r--r-- | modules/worldengine/nucleus/src/Debugging/WheatyExceptionReport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/worldengine/nucleus/src/Debugging/WheatyExceptionReport.cpp b/modules/worldengine/nucleus/src/Debugging/WheatyExceptionReport.cpp index d354007379..7bb12cf6c5 100644 --- a/modules/worldengine/nucleus/src/Debugging/WheatyExceptionReport.cpp +++ b/modules/worldengine/nucleus/src/Debugging/WheatyExceptionReport.cpp @@ -1125,7 +1125,7 @@ PVOID pAddress) else { #if _WIN64 - pszCurrBuffer += sprintf(pszCurrBuffer, " = 0x%I64X", (DWORD64*)pAddress); + pszCurrBuffer += sprintf(pszCurrBuffer, " = 0x%I64X", (DWORD64)pAddress); #else pszCurrBuffer += sprintf(pszCurrBuffer, " = 0x%X", (DWORD)pAddress); #endif @@ -1136,7 +1136,7 @@ PVOID pAddress) __except (EXCEPTION_EXECUTE_HANDLER) { #if _WIN64 - pszCurrBuffer += sprintf(pszCurrBuffer, " <Unable to read memory> = %I64X", (DWORD64*)pAddress); + pszCurrBuffer += sprintf(pszCurrBuffer, " <Unable to read memory> = %I64X", (DWORD64)pAddress); #else pszCurrBuffer += sprintf(pszCurrBuffer, " <Unable to read memory> = %X", (DWORD)pAddress); #endif |
