Author: tkreuzer
Date: Wed Nov 12 22:48:07 2008
New Revision: 37333
URL:
http://svn.reactos.org/svn/reactos?rev=37333&view=rev
Log:
ULONG -> ULONG_PTR in KeRosDumpStackFrames
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c [iso-8859-1] Wed Nov 12 22:48:07
2008
@@ -229,7 +229,7 @@
VOID
FASTCALL
-KeRosDumpStackFrameArray(IN PULONG Frames,
+KeRosDumpStackFrameArray(IN PULONG_PTR Frames,
IN ULONG FrameCount)
{
ULONG i;
@@ -267,13 +267,13 @@
{
/* 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 @@
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 */