summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2015-06-09 08:34:02 +0000
committershenshushi <shenshushi@Edk2>2015-06-09 08:34:02 +0000
commitfd0618c1f27e07edb0f2f5e3d8b134a4e11ff334 (patch)
treec70c68fa93126a0490a04a9aa136fce306e1b779
parent986ede742c52bee8a2dbeb99ec9182c2fbf3bc8e (diff)
downloadedk2-fd0618c1f27e07edb0f2f5e3d8b134a4e11ff334.tar.gz
edk2-fd0618c1f27e07edb0f2f5e3d8b134a4e11ff334.tar.bz2
edk2-fd0618c1f27e07edb0f2f5e3d8b134a4e11ff334.zip
MdeModulePkg: Add type cast to avoid build failure in GCC.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jiewen Yao <Jiewen.Yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17594 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c b/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c
index 8d17a03795..6e5c4f8fcd 100644
--- a/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c
+++ b/MdeModulePkg/Universal/PropertiesTableAttributesDxe/PropertiesTableAttributesDxe.c
@@ -126,7 +126,7 @@ UpdateMemoryAttributesDefault (
EFI_PROPERTIES_TABLE *PropertiesTable;
DEBUG ((EFI_D_INFO, "UpdateMemoryAttributesDefault\n"));
- Status = EfiGetSystemConfigurationTable (&gEfiPropertiesTableGuid, &PropertiesTable);
+ Status = EfiGetSystemConfigurationTable (&gEfiPropertiesTableGuid, (VOID **) &PropertiesTable);
if (EFI_ERROR (Status)) {
goto Done;
}