diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2017-09-06 18:08:07 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2017-09-06 18:08:07 +0800 |
commit | b80a4097393c90d041b299ef628e6104612a2586 (patch) | |
tree | 6751a603281f58f2d2c86e3641528476e63f4038 /NetworkPkg/Ip6Dxe | |
parent | 5f74808d03a3f5aae4a098afdff0c3e73d762776 (diff) | |
download | edk2-b80a4097393c90d041b299ef628e6104612a2586.zip edk2-b80a4097393c90d041b299ef628e6104612a2586.tar.gz edk2-b80a4097393c90d041b299ef628e6104612a2586.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6Driver.c b/NetworkPkg/Ip6Dxe/Ip6Driver.c index 43af838..0797a74 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.
|