mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +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:
parent
ede3f4d449
commit
4d35d59fb9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue