Author: akhaldi
Date: Thu Feb 2 20:45:49 2012
New Revision: 55383
URL:
http://svn.reactos.org/svn/reactos?rev=55383&view=rev
Log:
[NTOSKRNL]
* Fix MSVC build.
Modified:
trunk/reactos/ntoskrnl/mm/anonmem.c
Modified: trunk/reactos/ntoskrnl/mm/anonmem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/anonmem.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] Thu Feb 2 20:45:49 2012
@@ -556,6 +556,7 @@
KAPC_STATE ApcState;
ULONG ProtectionMask;
BOOLEAN Attached = FALSE;
+ ULONG_PTR EndingAddress;
BoundaryAddressMultiple.QuadPart = 0;
PAGED_CODE();
@@ -876,7 +877,6 @@
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;