From 5fc55555204c03abc19ab7541b8d8005d6bd9569 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 6 Feb 2009 09:31:40 +0000 Subject: Fix ICC build break git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7472 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MdePkg/Library/UefiDevicePathLib') diff --git a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c index be49ba4042..edc03f0e6b 100644 --- a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c +++ b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c @@ -153,7 +153,7 @@ IsDevicePathEndType ( ) { ASSERT (Node != NULL); - return ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE); + return (BOOLEAN) ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE); } /** @@ -176,7 +176,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); } /** @@ -199,7 +199,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); } /** -- cgit v1.2.3