]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Fix GCC build error.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 6 Sep 2017 10:07:40 +0000 (18:07 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Wed, 6 Sep 2017 10:07:40 +0000 (18:07 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c

index 03ba458a96f5fb244bb61be27398309fdb8b1fbf..49b7dc55d5da3feed2b40ee57bc963542ae549c8 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