Make MdeModulePkg GCC clean.
It also pass ICC+IPF and MYTOOLS+EBC build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3711 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -860,8 +860,8 @@ EfiIp4Configure (
|
||||
}
|
||||
|
||||
if (!Current->UseDefaultAddress &&
|
||||
(!EFI_IP4_EQUAL (Current->StationAddress, IpConfigData->StationAddress) ||
|
||||
!EFI_IP4_EQUAL (Current->SubnetMask, IpConfigData->SubnetMask))) {
|
||||
(!EFI_IP4_EQUAL (&Current->StationAddress, &IpConfigData->StationAddress) ||
|
||||
!EFI_IP4_EQUAL (&Current->SubnetMask, &IpConfigData->SubnetMask))) {
|
||||
Status = EFI_ALREADY_STARTED;
|
||||
goto ON_EXIT;
|
||||
}
|
||||
@@ -978,7 +978,7 @@ Ip4Groups (
|
||||
for (Index = IpInstance->GroupCount; Index > 0 ; Index--) {
|
||||
Group = IpInstance->Groups[Index - 1];
|
||||
|
||||
if ((GroupAddress == NULL) || EFI_IP4_EQUAL (Group, *GroupAddress)) {
|
||||
if ((GroupAddress == NULL) || EFI_IP4_EQUAL (&Group, GroupAddress)) {
|
||||
if (EFI_ERROR (Ip4LeaveGroup (IpInstance, NTOHL (Group)))) {
|
||||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user