From f96bee30ed4ab74280758f550de0c11fcd0a7cf0 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 23 Jul 2022 16:18:07 +0200 Subject: [PATCH] [KERNEL32] Fix printing exception address --- dll/win32/kernel32/client/except.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/kernel32/client/except.c b/dll/win32/kernel32/client/except.c index 38ac16fb8c3..b248878366e 100644 --- a/dll/win32/kernel32/client/except.c +++ b/dll/win32/kernel32/client/except.c @@ -104,7 +104,7 @@ PrintStackTrace(IN PEXCEPTION_POINTERS ExceptionInfo) if (ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION && 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 */