CorebootModulePkg: Fix GCC build failure.
authorGuo Dong <guo.dong@intel.com>
Wed, 27 May 2015 05:33:14 +0000 (05:33 +0000)
committergdong1 <gdong1@Edk2>
Wed, 27 May 2015 05:33:14 +0000 (05:33 +0000)
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

CorebootModulePkg/Include/Library/CbParseLib.h
CorebootModulePkg/Library/CbParseLib/CbParseLib.c

index 034574f..36727d3 100644 (file)
@@ -63,7 +63,7 @@ CbParseCbMemTable (
 **/\r
 RETURN_STATUS\r
 CbParseAcpiTable (\r
-  IN VOID*      pMemTable,\r
+  IN VOID**     pMemTable,\r
   IN UINT32*    pMemTableSize\r
   );\r
   \r
index df02e58..66374b5 100644 (file)
@@ -422,7 +422,7 @@ CbParseFadtInfo (
   Rsdp = NULL;\r
   Status = RETURN_SUCCESS;\r
 \r
-  Status = CbParseAcpiTable (&Rsdp, NULL);\r
+  Status = CbParseAcpiTable ((VOID **)&Rsdp, NULL);\r
   if (RETURN_ERROR(Status)) {\r
     return Status;\r
   }\r