public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch 1/2] MdeModulePkg: Fix GCC build error.
@ 2017-09-06 10:14 Fu Siyuan
  2017-09-06 10:14 ` [Patch 2/2] NetworkPkg: " Fu Siyuan
  0 siblings, 1 reply; 2+ messages in thread
From: Fu Siyuan @ 2017-09-06 10:14 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ard Biesheuvel

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.c
index 03ba458..49b7dc5 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.
-- 
1.9.5.msysgit.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Patch 2/2] NetworkPkg: Fix GCC build error.
  2017-09-06 10:14 [Patch 1/2] MdeModulePkg: Fix GCC build error Fu Siyuan
@ 2017-09-06 10:14 ` Fu Siyuan
  0 siblings, 0 replies; 2+ messages in thread
From: Fu Siyuan @ 2017-09-06 10:14 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ard Biesheuvel

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NetworkPkg/Ip6Dxe/Ip6Driver.c b/NetworkPkg/Ip6Dxe/Ip6Driver.c
index 43af838..0797a74 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.
-- 
1.9.5.msysgit.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-06 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-06 10:14 [Patch 1/2] MdeModulePkg: Fix GCC build error Fu Siyuan
2017-09-06 10:14 ` [Patch 2/2] NetworkPkg: " Fu Siyuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox