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

commit 548393c6e759f47336e158d6d6aa4e5cd551f9ba
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Mon Nov 18 01:33:06 2019 +0100
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Mon Nov 18 01:36:04 2019 +0100

    [NTOS:KD/KD64] Fix x64 build.
---
 ntoskrnl/kd/kdmain.c  | 2 +-
 ntoskrnl/kd64/kdapi.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ntoskrnl/kd/kdmain.c b/ntoskrnl/kd/kdmain.c
index ce8a738f26d..25a63a1c0cb 100644
--- a/ntoskrnl/kd/kdmain.c
+++ b/ntoskrnl/kd/kdmain.c
@@ -131,7 +131,7 @@ KdpServiceDispatcher(ULONG Service,
         /* Special  case for stack frame dumps */
         case 'DsoR':
         {
-            KeRosDumpStackFrames((PULONG)Buffer1, Buffer1Length);
+            KeRosDumpStackFrames((PULONG_PTR)Buffer1, Buffer1Length);
             break;
         }
 
diff --git a/ntoskrnl/kd64/kdapi.c b/ntoskrnl/kd64/kdapi.c
index e12ac7e5353..e7d304bf726 100644
--- a/ntoskrnl/kd64/kdapi.c
+++ b/ntoskrnl/kd64/kdapi.c
@@ -2193,7 +2193,7 @@ KdSystemDebugControl(
         /* Special case for stack frame dumps */
         case 'DsoR':
         {
-            KeRosDumpStackFrames((PULONG)InputBuffer, InputBufferLength);
+            KeRosDumpStackFrames((PULONG_PTR)InputBuffer, InputBufferLength);
             break;
         }
 #endif

Reply via email to