]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Ip6Dxe/Ip6Driver.c
NetworkPkg: Fix GCC build error.
[mirror_edk2.git] / NetworkPkg / Ip6Dxe / Ip6Driver.c
index 43af838ccd661ffaf6d0bb547e0b75117943d6d0..0797a742f23ad03c7b6080c7c5b1b004491b5cf0 100644 (file)
@@ -46,7 +46,7 @@ IpSec2InstalledCallback (
   // Test if protocol was even found.\r
   // Notification function will be called at least once.\r
   //\r
-  Status = gBS->LocateProtocol (&gEfiIpSec2ProtocolGuid, NULL, &mIpSec);\r
+  Status = gBS->LocateProtocol (&gEfiIpSec2ProtocolGuid, NULL, (VOID **)&mIpSec);\r
   if (Status == EFI_SUCCESS && mIpSec != NULL) {\r
     //\r
     // Close the event so it does not get called again.\r