diff options
author | Marvin Häuser <Marvin.Haeuser@outlook.com> | 2018-02-27 18:22:28 +0100 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2018-02-28 09:13:53 +0800 |
commit | 3a9a8d13d0b17c09b231883d3b5ebfb88100aa1b (patch) | |
tree | 1abf2c9246b2f05f5411c1e1154b95ef292d5a28 | |
parent | bc49e1314404cf67cd189ef056e49b75e5106aef (diff) | |
download | edk2-platforms-3a9a8d13d0b17c09b231883d3b5ebfb88100aa1b.tar.xz |
MinPlatformPkg/AcpiPlatform: Add a missing typecast to VOID **.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
-rw-r--r-- | Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c index 91b37f5a8a..02677a7d4e 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c @@ -429,7 +429,11 @@ UpdateLocalTable ( EFI_ACPI_TABLE_PROTOCOL *AcpiTable;
UINTN Index;
- Status = gBS->LocateProtocol (&gEfiAcpiTableProtocolGuid, NULL, &AcpiTable);
+ Status = gBS->LocateProtocol (
+ &gEfiAcpiTableProtocolGuid,
+ NULL,
+ (VOID **)&AcpiTable
+ );
for (Index = 0; Index < sizeof(mLocalTable)/sizeof(mLocalTable[0]); Index++) {
CurrentTable = mLocalTable[Index];
|