[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Tue, 1 Sep 2015 17:32:34 +0000 (17:32 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Tue, 1 Sep 2015 17:32:34 +0000 (17:32 +0000)
Fix MSVC build?

svn path=/trunk/; revision=68900

reactos/ntoskrnl/kd64/kdprint.c

index 82fe8bf..5b6959b 100644 (file)
@@ -227,7 +227,7 @@ KdpPrompt(IN LPSTR PromptString,
         {
             ProbeForRead(PromptString, PromptLength, 1);
             CapturedPrompt = alloca(512);
         {
             ProbeForRead(PromptString, PromptLength, 1);
             CapturedPrompt = alloca(512);
-            KdpQuickMoveMemory(CapturedPrompt, PromptString, PromptLength);
+            RtlMoveMemory(CapturedPrompt, PromptString, PromptLength);
             PromptString = CapturedPrompt;
 
             ProbeForWrite(ResponseString, MaximumResponseLength, 1);
             PromptString = CapturedPrompt;
 
             ProbeForWrite(ResponseString, MaximumResponseLength, 1);
@@ -274,7 +274,7 @@ KdpPrompt(IN LPSTR PromptString,
     {
         _SEH2_TRY
         {
     {
         _SEH2_TRY
         {
-            KdpQuickMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
+            RtlMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
         }
         _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
         {
         }
         _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
         {
@@ -328,7 +328,7 @@ KdpPrint(IN ULONG ComponentId,
         {
             ProbeForRead(String, Length, 1);
             CapturedString = alloca(512);
         {
             ProbeForRead(String, Length, 1);
             CapturedString = alloca(512);
-            KdpQuickMoveMemory(CapturedString, String, Length);
+            RtlMoveMemory(CapturedString, String, Length);
             String = CapturedString;
         }
         _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
             String = CapturedString;
         }
         _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)