Skip to content

Commit

Permalink
Cherry pick -Wformat warning elimination for sqWin32Main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-cellier-aka-nice committed Jul 28, 2016
1 parent 8569e04 commit daf9459
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions platforms/win32/vm/sqWin32Main.c
Expand Up @@ -1158,20 +1158,20 @@ printCrashDebugInformation(LPEXCEPTION_POINTERS exp)
exp->ExceptionRecord->ExceptionInformation[1]);
}
#if defined(_M_IX86) || defined(_M_I386) || defined(_X86_) || defined(i386) || defined(__i386__)
fprintf(f,"EAX:%08X\tEBX:%08X\tECX:%08X\tEDX:%08X\n",
fprintf(f,"EAX:%08lX\tEBX:%08lX\tECX:%08lX\tEDX:%08lX\n",
exp->ContextRecord->Eax,
exp->ContextRecord->Ebx,
exp->ContextRecord->Ecx,
exp->ContextRecord->Edx);
fprintf(f,"ESI:%08X\tEDI:%08X\tEBP:%08X\tESP:%08X\n",
fprintf(f,"ESI:%08lX\tEDI:%08lX\tEBP:%08lX\tESP:%08lX\n",
exp->ContextRecord->Esi,
exp->ContextRecord->Edi,
exp->ContextRecord->Ebp,
exp->ContextRecord->Esp);
fprintf(f,"EIP:%08X\tEFL:%08X\n",
fprintf(f,"EIP:%08lX\tEFL:%08lX\n",
exp->ContextRecord->Eip,
exp->ContextRecord->EFlags);
fprintf(f,"FP Control: %08X\nFP Status: %08X\nFP Tag: %08X\n",
fprintf(f,"FP Control: %08lX\nFP Status: %08lX\nFP Tag: %08lX\n",
exp->ContextRecord->FloatSave.ControlWord,
exp->ContextRecord->FloatSave.StatusWord,
exp->ContextRecord->FloatSave.TagWord);
Expand Down

0 comments on commit daf9459

Please sign in to comment.