From b80a4097393c90d041b299ef628e6104612a2586 Mon Sep 17 00:00:00 2001 From: Fu Siyuan Date: Wed, 6 Sep 2017 18:08:07 +0800 Subject: [PATCH] NetworkPkg: Fix GCC build error. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan Cc: Ard Biesheuvel --- NetworkPkg/Ip6Dxe/Ip6Driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetworkPkg/Ip6Dxe/Ip6Driver.c b/NetworkPkg/Ip6Dxe/Ip6Driver.c index 43af838ccd..0797a742f2 100644 --- a/NetworkPkg/Ip6Dxe/Ip6Driver.c +++ b/NetworkPkg/Ip6Dxe/Ip6Driver.c @@ -46,7 +46,7 @@ IpSec2InstalledCallback ( // Test if protocol was even found. // Notification function will be called at least once. // - Status = gBS->LocateProtocol (&gEfiIpSec2ProtocolGuid, NULL, &mIpSec); + Status = gBS->LocateProtocol (&gEfiIpSec2ProtocolGuid, NULL, (VOID **)&mIpSec); if (Status == EFI_SUCCESS && mIpSec != NULL) { // // Close the event so it does not get called again. -- 2.39.2