Author: tkreuzer
Date: Sun Nov 29 16:26:31 2009
New Revision: 44319
URL:
http://svn.reactos.org/svn/reactos?rev=44319&view=rev
Log:
[MM]
MmCreateMemoryArea: Make tmpLength an ULONG_PTR, so it dowsn't overflow on 64 bit
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/marea.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/marea.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/marea.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/marea.c [iso-8859-1] Sun Nov 29
16:26:31 2009
@@ -929,7 +929,7 @@
{
PVOID EndAddress;
ULONG Granularity;
- ULONG tmpLength;
+ ULONG_PTR tmpLength;
PMEMORY_AREA MemoryArea;
DPRINT("MmCreateMemoryArea(Type 0x%lx, BaseAddress %p, "