Fix ICC build break

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7473 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2009-02-06 09:34:51 +00:00
parent 5fc5555520
commit 1bfc7438ab
1 changed files with 5 additions and 5 deletions

View File

@ -182,7 +182,7 @@ IsDevicePathEndType (
) )
{ {
ASSERT (Node != NULL); 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); 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); 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 UINT16
SetDevicePathNodeLength ( SetDevicePathNodeLength (
IN VOID *Node, IN VOID *Node,
IN UINTN NodeLength IN UINTN NodeLength
) )
{ {
ASSERT (Node != NULL); ASSERT (Node != NULL);