mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +00:00
[NTOSKRNL]
Fix MSVC build? svn path=/trunk/; revision=68900
This commit is contained in:
parent
82cc4faad5
commit
aafd9216cf
1 changed files with 3 additions and 3 deletions
|
@ -227,7 +227,7 @@ KdpPrompt(IN LPSTR PromptString,
|
|||
{
|
||||
ProbeForRead(PromptString, PromptLength, 1);
|
||||
CapturedPrompt = alloca(512);
|
||||
KdpQuickMoveMemory(CapturedPrompt, PromptString, PromptLength);
|
||||
RtlMoveMemory(CapturedPrompt, PromptString, PromptLength);
|
||||
PromptString = CapturedPrompt;
|
||||
|
||||
ProbeForWrite(ResponseString, MaximumResponseLength, 1);
|
||||
|
@ -274,7 +274,7 @@ KdpPrompt(IN LPSTR PromptString,
|
|||
{
|
||||
_SEH2_TRY
|
||||
{
|
||||
KdpQuickMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
|
||||
RtlMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
|
@ -328,7 +328,7 @@ KdpPrint(IN ULONG ComponentId,
|
|||
{
|
||||
ProbeForRead(String, Length, 1);
|
||||
CapturedString = alloca(512);
|
||||
KdpQuickMoveMemory(CapturedString, String, Length);
|
||||
RtlMoveMemory(CapturedString, String, Length);
|
||||
String = CapturedString;
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue