fixing format strings
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -145,7 +145,7 @@ namespace AZ
|
||||
|
||||
char message[g_maxMessageLength];
|
||||
Debug::Trace::Instance().Output(nullptr, "==================================================================\n");
|
||||
azsnprintf(message, g_maxMessageLength, "Exception : 0x%X - '%s' [%p]\n", ExceptionInfo->ExceptionRecord->ExceptionCode, GetExeptionName(ExceptionInfo->ExceptionRecord->ExceptionCode), ExceptionInfo->ExceptionRecord->ExceptionAddress);
|
||||
azsnprintf(message, g_maxMessageLength, "Exception : 0x%lX - '%s' [%p]\n", ExceptionInfo->ExceptionRecord->ExceptionCode, GetExeptionName(ExceptionInfo->ExceptionRecord->ExceptionCode), ExceptionInfo->ExceptionRecord->ExceptionAddress);
|
||||
Debug::Trace::Instance().Output(nullptr, message);
|
||||
|
||||
EBUS_EVENT(Debug::TraceMessageDrillerBus, OnException, message);
|
||||
|
||||
@@ -478,7 +478,7 @@ namespace AZ {
|
||||
DWORD displacement;
|
||||
if (g_SymGetLineFromAddr64(g_currentProcess, pc, &displacement, &line) && line.FileName[0] != 0)
|
||||
{
|
||||
azsnprintf(textLine, textLineSize, "%s (%d) : ", line.FileName, line.LineNumber);
|
||||
azsnprintf(textLine, textLineSize, "%s (%ld) : ", line.FileName, line.LineNumber);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user