https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f96bee30ed4ab74280758f550de0c11fcd0a7cf0

commit f96bee30ed4ab74280758f550de0c11fcd0a7cf0
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Sat Jul 23 16:18:07 2022 +0200
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Thu Aug 4 16:15:24 2022 +0200

    [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 */

Reply via email to