diff options
-rw-r--r-- | NetworkPkg/Ip6Dxe/Ip6Driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6Driver.c b/NetworkPkg/Ip6Dxe/Ip6Driver.c index 43af838ccd..0797a742f2 100644 --- a/NetworkPkg/Ip6Dxe/Ip6Driver.c +++ b/NetworkPkg/Ip6Dxe/Ip6Driver.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.
|