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