mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 06:58:10 +00:00
[NTOSKRNL]
* Fix MSVC build. svn path=/trunk/; revision=55383
This commit is contained in:
parent
75c818eefb
commit
46ba8b17cc
1 changed files with 1 additions and 1 deletions
|
@ -556,6 +556,7 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
|||
KAPC_STATE ApcState;
|
||||
ULONG ProtectionMask;
|
||||
BOOLEAN Attached = FALSE;
|
||||
ULONG_PTR EndingAddress;
|
||||
BoundaryAddressMultiple.QuadPart = 0;
|
||||
PAGED_CODE();
|
||||
|
||||
|
@ -876,7 +877,6 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
|||
|
||||
MemoryAreaLength = (ULONG_PTR)MemoryArea->EndingAddress -
|
||||
(ULONG_PTR)MemoryArea->StartingAddress;
|
||||
ULONG_PTR EndingAddress;
|
||||
EndingAddress = ((ULONG_PTR)MemoryArea->StartingAddress + RegionSize - 1) | (PAGE_SIZE - 1);
|
||||
RegionSize = (ULONG_PTR)EndingAddress - (ULONG_PTR)MemoryArea->StartingAddress + 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue