summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Dong <guo.dong@intel.com>2015-05-27 05:33:14 +0000
committergdong1 <gdong1@Edk2>2015-05-27 05:33:14 +0000
commit2e1fffcec776afe00b2e9ca587608afe3ac5ee8b (patch)
treecd6b85e16311b7adbee4098dc91d8f7f640ac595
parentd3dc58e979878a8f852e7bae777bd91893e166d8 (diff)
downloadedk2-platforms-2e1fffcec776afe00b2e9ca587608afe3ac5ee8b.tar.xz
CorebootModulePkg: Fix GCC build failure.
This patch fixed a GCC build failure issue. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Dong <guo.dong@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17519 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--CorebootModulePkg/Include/Library/CbParseLib.h2
-rw-r--r--CorebootModulePkg/Library/CbParseLib/CbParseLib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CorebootModulePkg/Include/Library/CbParseLib.h b/CorebootModulePkg/Include/Library/CbParseLib.h
index 034574f5df..36727d3f58 100644
--- a/CorebootModulePkg/Include/Library/CbParseLib.h
+++ b/CorebootModulePkg/Include/Library/CbParseLib.h
@@ -63,7 +63,7 @@ CbParseCbMemTable (
**/
RETURN_STATUS
CbParseAcpiTable (
- IN VOID* pMemTable,
+ IN VOID** pMemTable,
IN UINT32* pMemTableSize
);
diff --git a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
index df02e58cbf..66374b5a32 100644
--- a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
+++ b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c
@@ -422,7 +422,7 @@ CbParseFadtInfo (
Rsdp = NULL;
Status = RETURN_SUCCESS;
- Status = CbParseAcpiTable (&Rsdp, NULL);
+ Status = CbParseAcpiTable ((VOID **)&Rsdp, NULL);
if (RETURN_ERROR(Status)) {
return Status;
}