summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2017-09-06 18:07:40 +0800
committerFu Siyuan <siyuan.fu@intel.com>2017-09-06 18:07:40 +0800
commit5f74808d03a3f5aae4a098afdff0c3e73d762776 (patch)
treea9fd295589fd495329b102776506c43de1ee537d /MdeModulePkg/Universal
parent9a04dcffbb1e59333e500a8ce66e01a562be8b4f (diff)
downloadedk2-5f74808d03a3f5aae4a098afdff0c3e73d762776.tar.gz
edk2-5f74808d03a3f5aae4a098afdff0c3e73d762776.tar.bz2
edk2-5f74808d03a3f5aae4a098afdff0c3e73d762776.zip
MdeModulePkg: 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 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c
index 03ba458a96..49b7dc55d5 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.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.