Fix physical page count overflow by using 64-bit type
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 29s
Builds / ExectOS (amd64, debug) (push) Successful in 31s
Builds / ExectOS (i686, release) (push) Successful in 31s
Builds / ExectOS (i686, debug) (push) Successful in 33s

This commit is contained in:
2025-12-22 23:32:54 +01:00
parent 643fd0d1e8
commit 7575526f07
3 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ MM::Pfn::ComputePfnDatabaseSize(VOID)
* @since XT 1.0
*/
XTAPI
ULONG
ULONGLONG
MM::Pfn::GetNumberOfPhysicalPages(VOID)
{
/* Return the number of physical pages */