diff --git a/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c b/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c index 6714da783a..951222a428 100755 --- a/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c +++ b/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c @@ -94,7 +94,7 @@ LocateFvInstanceWithTables ( // Status = FvInstance->ReadFile ( FvInstance, - FixedPcdGetPtr (PcdAcpiTableStorageFile), + (EFI_GUID*)FixedPcdGetPtr (PcdAcpiTableStorageFile), NULL, &Size, &FileType, @@ -208,7 +208,7 @@ AcpiPlatformEntryPoint ( Status = FwVol->ReadSection ( FwVol, - FixedPcdGetPtr (PcdAcpiTableStorageFile), + (EFI_GUID*)FixedPcdGetPtr (PcdAcpiTableStorageFile), EFI_SECTION_RAW, Instance, (VOID**) &CurrentTable,