[MM]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 29 Nov 2009 15:26:31 +0000 (15:26 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 29 Nov 2009 15:26:31 +0000 (15:26 +0000)
MmCreateMemoryArea: Make tmpLength an ULONG_PTR, so it dowsn't overflow on 64 bit

svn path=/branches/ros-amd64-bringup/; revision=44319

reactos/ntoskrnl/mm/marea.c

index 19373dc..13754a9 100644 (file)
@@ -929,7 +929,7 @@ MmCreateMemoryArea(PMMSUPPORT AddressSpace,
 {
    PVOID EndAddress;
    ULONG Granularity;
-   ULONG tmpLength;
+   ULONG_PTR tmpLength;
    PMEMORY_AREA MemoryArea;
 
    DPRINT("MmCreateMemoryArea(Type 0x%lx, BaseAddress %p, "