[NTOS:MM] Quick fix: use SIZE_T instead of ULONG, because ULONG is 32-bit and on...
authorIvan Labutin <linuxrf@gmail.com>
Fri, 10 Nov 2017 17:19:45 +0000 (20:19 +0300)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 20 Dec 2017 05:56:09 +0000 (06:56 +0100)
ntoskrnl/mm/mminit.c

index 5e066c4..3fff72b 100644 (file)
@@ -45,7 +45,7 @@ extern NTSTATUS MiRosTrimCache(ULONG Target, ULONG Priority, PULONG NrFreed);
 VOID
 INIT_FUNCTION
 NTAPI
-MiCreateArm3StaticMemoryArea(PVOID BaseAddress, ULONG Size, BOOLEAN Executable)
+MiCreateArm3StaticMemoryArea(PVOID BaseAddress, SIZE_T Size, BOOLEAN Executable)
 {
     const ULONG Protection = Executable ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE;
     PVOID pBaseAddress = BaseAddress;