https://git.reactos.org/?p=reactos.git;a=commitdiff;h=de679e8f334e565946f2ce32390780b7c95ba5a2

commit de679e8f334e565946f2ce32390780b7c95ba5a2
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Sat Jul 27 09:32:29 2019 +0200
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Thu Aug 15 18:04:57 2019 +0200

    [NTOS:MM] MmSizeOfSystemCacheInPages is ULONG_PTR, not ULONG
    
    Fixes failed assertion on x64.
---
 ntoskrnl/mm/ARM3/mminit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/mm/ARM3/mminit.c b/ntoskrnl/mm/ARM3/mminit.c
index 5e4bc303e01..f1d7c2b7e95 100644
--- a/ntoskrnl/mm/ARM3/mminit.c
+++ b/ntoskrnl/mm/ARM3/mminit.c
@@ -242,7 +242,7 @@ PMMPTE MiHighestUserPxe;
 /* These variables define the system cache address space */
 PVOID MmSystemCacheStart = (PVOID)MI_SYSTEM_CACHE_START;
 PVOID MmSystemCacheEnd;
-ULONG MmSizeOfSystemCacheInPages;
+ULONG_PTR MmSizeOfSystemCacheInPages;
 MMSUPPORT MmSystemCacheWs;
 
 //

Reply via email to