diff --git a/modules/worldengine/nucleus/src/Debugging/WheatyExceptionReport.cpp b/modules/worldengine/nucleus/src/Debugging/WheatyExceptionReport.cpp index d35400737..7bb12cf6c 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, " = %I64X", (DWORD64*)pAddress); + pszCurrBuffer += sprintf(pszCurrBuffer, " = %I64X", (DWORD64)pAddress); #else pszCurrBuffer += sprintf(pszCurrBuffer, " = %X", (DWORD)pAddress); #endif