]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Fix GCC build error.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 6 Sep 2017 10:08:07 +0000 (18:08 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Wed, 6 Sep 2017 10:08:07 +0000 (18:08 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
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