]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix ICC build break
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 6 Feb 2009 09:34:51 +0000 (09:34 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 6 Feb 2009 09:34:51 +0000 (09:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7473 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c

index 393c7f45280674213b080fab55c50fe0004ad601..08a0191c14fd0a76bf2a4e0ec9cca2f7c3c786d0 100644 (file)
@@ -182,7 +182,7 @@ IsDevicePathEndType (
   )\r
 {\r
   ASSERT (Node != NULL);\r
-  return ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE);\r
+  return (BOOLEAN) ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE);\r
 }\r
 \r
 /**\r
@@ -205,7 +205,7 @@ IsDevicePathEnd (
   )\r
 {\r
   ASSERT (Node != NULL);\r
-  return (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_ENTIRE_DEVICE_PATH_SUBTYPE);\r
+  return (BOOLEAN) (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_ENTIRE_DEVICE_PATH_SUBTYPE);\r
 }\r
 \r
 /**\r
@@ -228,7 +228,7 @@ IsDevicePathEndInstance (
   )\r
 {\r
   ASSERT (Node != NULL);\r
-  return (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_INSTANCE_DEVICE_PATH_SUBTYPE);\r
+  return (BOOLEAN) (IsDevicePathEndType (Node) && DevicePathSubType(Node) == END_INSTANCE_DEVICE_PATH_SUBTYPE);\r
 }\r
 \r
 /**\r
@@ -250,8 +250,8 @@ IsDevicePathEndInstance (
 **/\r
 UINT16\r
 SetDevicePathNodeLength (\r
-IN VOID   *Node,\r
-IN UINTN  NodeLength\r
+  IN VOID   *Node,\r
+  IN UINTN  NodeLength\r
   )\r
 {\r
   ASSERT (Node != NULL);\r