From: Yao, Jiewen Date: Tue, 20 Jan 2015 08:24:12 +0000 (+0000) Subject: Fix GCC build error. X-Git-Tag: edk2-stable201903~10432 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6a39a6a1a8a35a84e4e13900a2b5e8da1b6435f2 Fix GCC build error. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16627 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/DxeHstiLib/HstiDxe.c b/MdePkg/Library/DxeHstiLib/HstiDxe.c index c7a5769bf5..d5d7574987 100644 --- a/MdePkg/Library/DxeHstiLib/HstiDxe.c +++ b/MdePkg/Library/DxeHstiLib/HstiDxe.c @@ -393,7 +393,7 @@ InternalHstiRecordFeaturesVerified ( UINT8 *SecurityFeaturesVerified; EFI_STATUS Status; - Aip = InternalHstiFindAip (Role, ImplementationID, &Hsti, &HstiSize); + Aip = InternalHstiFindAip (Role, ImplementationID, (VOID **)&Hsti, &HstiSize); if (Aip == NULL) { return EFI_NOT_STARTED; } @@ -518,7 +518,7 @@ InternalHstiRecordErrorString ( UINTN Offset; EFI_STATUS Status; - Aip = InternalHstiFindAip (Role, ImplementationID, &Hsti, &HstiSize); + Aip = InternalHstiFindAip (Role, ImplementationID, (VOID **)&Hsti, &HstiSize); if (Aip == NULL) { return EFI_NOT_STARTED; }