Clean up Network Components to support GCC build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4062 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1
2007-10-09 09:30:52 +00:00
parent 0c6bbb63f9
commit 67a58d0ffd
17 changed files with 40 additions and 38 deletions

View File

@@ -756,14 +756,14 @@ DhcpHandleRequest (
Message = NULL;
if (!EFI_IP4_EQUAL (&Head->YourAddr, &Selected->YourAddr)) {
Message = "Lease confirmed isn't the same as that in the offer";
Message = (UINT8 *) "Lease confirmed isn't the same as that in the offer";
goto REJECT;
}
Status = DhcpCallUser (DhcpSb, Dhcp4RcvdAck, Packet, NULL);
if (EFI_ERROR (Status)) {
Message = "Lease is denied upon received ACK";
Message = (UINT8 *) "Lease is denied upon received ACK";
goto REJECT;
}
@@ -773,7 +773,7 @@ DhcpHandleRequest (
Status = DhcpLeaseAcquired (DhcpSb);
if (EFI_ERROR (Status)) {
Message = "Lease is denied upon entering bound";
Message = (UINT8 *) "Lease is denied upon entering bound";
goto REJECT;
}