X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=NetworkPkg%2FIp6Dxe%2FIp6Driver.c;fp=NetworkPkg%2FIp6Dxe%2FIp6Driver.c;h=0797a742f23ad03c7b6080c7c5b1b004491b5cf0;hp=43af838ccd661ffaf6d0bb547e0b75117943d6d0;hb=b80a4097393c90d041b299ef628e6104612a2586;hpb=5f74808d03a3f5aae4a098afdff0c3e73d762776 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.