summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-06 09:34:51 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-06 09:34:51 +0000
commit1bfc7438ab980ccac093ba86ab85b2b30e91f992 (patch)
treee550ef61d0a6d5001edb30e544080d8ba6a8ab6c
parent5fc55555204c03abc19ab7541b8d8005d6bd9569 (diff)
downloadedk2-platforms-1bfc7438ab980ccac093ba86ab85b2b30e91f992.tar.xz
Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7473 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
index 393c7f4528..08a0191c14 100644
--- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
+++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
@@ -182,7 +182,7 @@ IsDevicePathEndType (
)
{
ASSERT (Node != NULL);
- return ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE);
+ return (BOOLEAN) ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE);
}
/**
@@ -205,7 +205,7 @@ IsDevicePathEnd (
)
{
ASSERT (Node != NULL);
- return (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_ENTIRE_DEVICE_PATH_SUBTYPE);
+ return (BOOLEAN) (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_ENTIRE_DEVICE_PATH_SUBTYPE);
}
/**
@@ -228,7 +228,7 @@ IsDevicePathEndInstance (
)
{
ASSERT (Node != NULL);
- return (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_INSTANCE_DEVICE_PATH_SUBTYPE);
+ return (BOOLEAN) (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_INSTANCE_DEVICE_PATH_SUBTYPE);
}
/**
@@ -250,8 +250,8 @@ IsDevicePathEndInstance (
**/
UINT16
SetDevicePathNodeLength (
-IN VOID *Node,
-IN UINTN NodeLength
+ IN VOID *Node,
+ IN UINTN NodeLength
)
{
ASSERT (Node != NULL);