fix ULONG/ULONG_PTR isuue
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 9 Dec 2008 15:45:54 +0000 (15:45 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 9 Dec 2008 15:45:54 +0000 (15:45 +0000)
svn path=/branches/ros-amd64-bringup/; revision=37967

reactos/ntoskrnl/ke/bug.c

index f062302..9255b08 100644 (file)
@@ -1065,7 +1065,7 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
 
     /* Check if we need to save the context for KD */
 #ifdef _WINKD_
-    if (!KdPitchDebugger) KdDebuggerDataBlock.SavedContext = (ULONG)&Context;
+    if (!KdPitchDebugger) KdDebuggerDataBlock.SavedContext = (ULONG_PTR)&Context;
 #endif
 
     /* Check if a debugger is connected */