[KERNEL32] Fix printing exception address

This commit is contained in:
Timo Kreuzer 2022-07-23 16:18:07 +02:00
parent f8b6cc249e
commit f96bee30ed

View file

@ -104,7 +104,7 @@ PrintStackTrace(IN PEXCEPTION_POINTERS ExceptionInfo)
if (ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION && if (ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION &&
ExceptionRecord->NumberParameters == 2) ExceptionRecord->NumberParameters == 2)
{ {
DbgPrint("Faulting Address: %8x\n", ExceptionRecord->ExceptionInformation[1]); DbgPrint("Faulting Address: %p\n", (PVOID)ExceptionRecord->ExceptionInformation[1]);
} }
/* Trace the wine special error and show the modulename and functionname */ /* Trace the wine special error and show the modulename and functionname */