fixing format strings

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 18:39:00 -07:00
parent 45dcbb96ba
commit e98bab8a75
6 changed files with 9 additions and 9 deletions
@@ -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
{