Fix GCC build error.
authorYao, Jiewen <jiewen.yao@intel.com>
Tue, 20 Jan 2015 08:24:12 +0000 (08:24 +0000)
committerjyao1 <jyao1@Edk2>
Tue, 20 Jan 2015 08:24:12 +0000 (08:24 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16627 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/DxeHstiLib/HstiDxe.c

index c7a5769..d5d7574 100644 (file)
@@ -393,7 +393,7 @@ InternalHstiRecordFeaturesVerified (
   UINT8                            *SecurityFeaturesVerified;\r
   EFI_STATUS                       Status;\r
 \r
-  Aip = InternalHstiFindAip (Role, ImplementationID, &Hsti, &HstiSize);\r
+  Aip = InternalHstiFindAip (Role, ImplementationID, (VOID **)&Hsti, &HstiSize);\r
   if (Aip == NULL) {\r
     return EFI_NOT_STARTED;\r
   }\r
@@ -518,7 +518,7 @@ InternalHstiRecordErrorString (
   UINTN                            Offset;\r
   EFI_STATUS                       Status;\r
 \r
-  Aip = InternalHstiFindAip (Role, ImplementationID, &Hsti, &HstiSize);\r
+  Aip = InternalHstiFindAip (Role, ImplementationID, (VOID **)&Hsti, &HstiSize);\r
   if (Aip == NULL) {\r
     return EFI_NOT_STARTED;\r
   }\r