Fix physical page count overflow by using 64-bit type
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user