commit | 2432c68578f8989abc096547fcada04d651b1a66 | [log] [tgz] |
---|---|---|
author | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | Wed May 12 03:12:57 2010 +0000 |
committer | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | Wed May 12 03:12:57 2010 +0000 |
tree | 61222d6196c65e31721bb5a4846c8e7c93dde871 | |
parent | 47c242a6d7123b393eacd9c0a785bd9743bed94a [diff] |
Fix for UNIXGCC build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10483 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c index b7efceb..bd926d3 100644 --- a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c +++ b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c
@@ -514,7 +514,7 @@ mEfiAcpiMaxNumTables * sizeof (UINT32) + sizeof (EFI_ACPI_DESCRIPTION_HEADER) + // for ACPI 2.0/3.0 XSDT mEfiAcpiMaxNumTables * sizeof (UINT64); - gBS->FreePages ((EFI_PHYSICAL_ADDRESS)TempPrivateData.Rsdp1, EFI_SIZE_TO_PAGES (TotalSize)); + gBS->FreePages ((EFI_PHYSICAL_ADDRESS)(UINTN)TempPrivateData.Rsdp1, EFI_SIZE_TO_PAGES (TotalSize)); // // Update the Max ACPI table number