From 1bfc7438ab980ccac093ba86ab85b2b30e91f992 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 6 Feb 2009 09:34:51 +0000 Subject: [PATCH] Fix ICC build break git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7473 6f19259b-4bc3-4df7-8a09-765794883524 --- .../UefiDevicePathLib.c | 10 +++++----- 1 file 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);