From f01b91ae42edcf979a52ba08b515d3b4525b55fa Mon Sep 17 00:00:00 2001 From: ydong10 Date: Thu, 31 May 2012 08:35:48 +0000 Subject: Fixed build failed. Signed-off-by: Eric Dong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c | 2 +- NetworkPkg/IScsiDxe/IScsiMisc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'NetworkPkg') diff --git a/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c b/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c index 479eb14..6bf96a1 100644 --- a/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c +++ b/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c @@ -41,7 +41,7 @@ Dhcp6GenerateClientId ( // Attempt to get client Id from variable to keep it constant. // See details in section-9 of rfc-3315. // - GetVariable2 (L"ClientId", &gEfiDhcp6ServiceBindingProtocolGuid, &Duid, NULL); + GetVariable2 (L"ClientId", &gEfiDhcp6ServiceBindingProtocolGuid, (VOID**)&Duid, NULL); if (Duid != NULL) { return Duid; } diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.c b/NetworkPkg/IScsiDxe/IScsiMisc.c index 46e97a9..971011e 100644 --- a/NetworkPkg/IScsiDxe/IScsiMisc.c +++ b/NetworkPkg/IScsiDxe/IScsiMisc.c @@ -1079,7 +1079,7 @@ IScsiGetConfigData ( GetVariable2 ( mPrivate->PortString, &gEfiIScsiInitiatorNameProtocolGuid, - &AttemptConfigData, + (VOID**)&AttemptConfigData, NULL ); -- cgit v1.1