diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-31 08:35:48 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-31 08:35:48 +0000 |
commit | f01b91ae42edcf979a52ba08b515d3b4525b55fa (patch) | |
tree | f9ee5bf93dfc19c2db2a67cff2c1355224053e50 /MdeModulePkg/Universal/Network | |
parent | d5b339a9e7d971b37cf6bb7e647c549dd0d2cf26 (diff) | |
download | edk2-platforms-f01b91ae42edcf979a52ba08b515d3b4525b55fa.tar.xz |
Fixed build failed.
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network')
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c index 27ee99219b..f0e03af900 100644 --- a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c +++ b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c @@ -91,7 +91,7 @@ Ip4ConfigReadVariable ( {
NIC_IP4_CONFIG_INFO *NicConfig;
- GetVariable2 (Instance->MacString, &gEfiNicIp4ConfigVariableGuid, &NicConfig, NULL);
+ GetVariable2 (Instance->MacString, &gEfiNicIp4ConfigVariableGuid, (VOID**)&NicConfig, NULL);
if (NicConfig != NULL) {
Ip4ConfigFixRouteTablePointer (&NicConfig->Ip4Info);
}
@@ -255,7 +255,7 @@ Check: continue;
}
- GetVariable2 (VariableName, &gEfiNicIp4ConfigVariableGuid, &NicConfig, NULL);
+ GetVariable2 (VariableName, &gEfiNicIp4ConfigVariableGuid, (VOID**)&NicConfig, NULL);
if (NicConfig == NULL) {
break;
}
|