mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTOS:MM] Quick fix: use SIZE_T instead of ULONG, because ULONG is 32-bit and on 64-bit truncates values
This commit is contained in:
committed by
Timo Kreuzer
parent
ede3f4d449
commit
4d35d59fb9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user