[NTOS:MM] MmSizeOfSystemCacheInPages is ULONG_PTR, not ULONG
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 27 Jul 2019 07:32:29 +0000 (09:32 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 15 Aug 2019 16:04:57 +0000 (18:04 +0200)
Fixes failed assertion on x64.

ntoskrnl/mm/ARM3/mminit.c

index 5e4bc30..f1d7c2b 100644 (file)
@@ -242,7 +242,7 @@ PMMPTE MiHighestUserPxe;
 /* These variables define the system cache address space */
 PVOID MmSystemCacheStart = (PVOID)MI_SYSTEM_CACHE_START;
 PVOID MmSystemCacheEnd;
 /* These variables define the system cache address space */
 PVOID MmSystemCacheStart = (PVOID)MI_SYSTEM_CACHE_START;
 PVOID MmSystemCacheEnd;
-ULONG MmSizeOfSystemCacheInPages;
+ULONG_PTR MmSizeOfSystemCacheInPages;
 MMSUPPORT MmSystemCacheWs;
 
 //
 MMSUPPORT MmSystemCacheWs;
 
 //