summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Ip6Dxe
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2017-09-06 18:08:07 +0800
committerFu Siyuan <siyuan.fu@intel.com>2017-09-06 18:08:07 +0800
commitb80a4097393c90d041b299ef628e6104612a2586 (patch)
tree6751a603281f58f2d2c86e3641528476e63f4038 /NetworkPkg/Ip6Dxe
parent5f74808d03a3f5aae4a098afdff0c3e73d762776 (diff)
downloadedk2-b80a4097393c90d041b299ef628e6104612a2586.tar.gz
edk2-b80a4097393c90d041b299ef628e6104612a2586.tar.bz2
edk2-b80a4097393c90d041b299ef628e6104612a2586.zip
NetworkPkg: Fix GCC build error.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'NetworkPkg/Ip6Dxe')
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Driver.c2
1 files changed, 1 insertions, 1 deletions
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.