From 1bc69803f8dc5981830dc64fbff3612b67173445 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 13 Nov 2008 04:48:07 +0000 Subject: [PATCH] ULONG -> ULONG_PTR in KeRosDumpStackFrames svn path=/branches/ros-amd64-bringup/; revision=37333 --- reactos/ntoskrnl/ke/bug.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/ntoskrnl/ke/bug.c b/reactos/ntoskrnl/ke/bug.c index bd2f2fa09f0..c1e05426123 100644 --- a/reactos/ntoskrnl/ke/bug.c +++ b/reactos/ntoskrnl/ke/bug.c @@ -229,7 +229,7 @@ KeRosCaptureUserStackBackTrace(IN ULONG FramesToSkip, VOID FASTCALL -KeRosDumpStackFrameArray(IN PULONG Frames, +KeRosDumpStackFrameArray(IN PULONG_PTR Frames, IN ULONG FrameCount) { ULONG i; @@ -267,13 +267,13 @@ KeRosDumpStackFrameArray(IN PULONG Frames, { /* Print out the module name */ Addr -= (ULONG_PTR)LdrEntry->DllBase; - DbgPrint("<%wZ: %x>\n", &LdrEntry->FullDllName, Addr); + DbgPrint("<%wZ: %p>", &LdrEntry->FullDllName, (PVOID)Addr); } } else { /* Print only the address */ - DbgPrint("<%x>\n", Addr); + DbgPrint("<%p>", (PVOID)Addr); } /* Go to the next frame */ @@ -283,10 +283,10 @@ KeRosDumpStackFrameArray(IN PULONG Frames, VOID NTAPI -KeRosDumpStackFrames(IN PULONG Frame OPTIONAL, +KeRosDumpStackFrames(IN PULONG_PTR Frame OPTIONAL, IN ULONG FrameCount OPTIONAL) { - ULONG Frames[32]; + ULONG_PTR Frames[32]; ULONG RealFrameCount; /* If the caller didn't ask, assume 32 frames */