diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-25 05:32:10 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-25 05:32:10 +0000 |
commit | 4eb65aff715faafd9040c6fc85a5d59e22343978 (patch) | |
tree | 2d44bcc49ffb7aad635fb3a94509a82211493f10 /MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | |
parent | c8c8116cfb645195b3484757a9f81a53f6989bdf (diff) | |
download | edk2-platforms-4eb65aff715faafd9040c6fc85a5d59e22343978.tar.xz |
Fixed EBC build issues.
Fixed ICC build issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3431 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c')
-rw-r--r-- | MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c index 4a068eaf72..cfc8970c7c 100644 --- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c +++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c @@ -229,7 +229,7 @@ IpIoIcmpHandler ( case ICMP_CODE_UNREACH_PROTOCOL:
case ICMP_CODE_UNREACH_PORT:
case ICMP_CODE_UNREACH_SRCFAIL:
- IcmpErr = ICMP_ERR_UNREACH_NET + Code;
+ IcmpErr = (ICMP_ERROR) (ICMP_ERR_UNREACH_NET + Code);
break;
@@ -266,7 +266,7 @@ IpIoIcmpHandler ( return EFI_ABORTED;
}
- IcmpErr = Code + ICMP_ERR_TIMXCEED_INTRANS;
+ IcmpErr = (ICMP_ERROR) (Code + ICMP_ERR_TIMXCEED_INTRANS);
break;
@@ -654,7 +654,7 @@ IpIoListenHandler ( if (EFI_SUCCESS == Status) {
- IpIo->PktRcvdNotify (EFI_SUCCESS, 0, &Session, Pkt, IpIo->RcvdContext);
+ IpIo->PktRcvdNotify (EFI_SUCCESS, (ICMP_ERROR) 0, &Session, Pkt, IpIo->RcvdContext);
} else {
//
// Status is EFI_ICMP_ERROR
@@ -1050,7 +1050,7 @@ IpIoAddIp ( IpIo->Controller,
IpIo->Image,
&IpInfo->ChildHandle,
- &IpInfo->Ip
+ (VOID **) &IpInfo->Ip
);
if (EFI_ERROR (Status)) {
goto ReleaseIpInfo;
|