mirror of https://github.com/acidanthera/audk.git
NetworkPkg: 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>
This commit is contained in:
parent
5f74808d03
commit
b80a409739
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue