X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiDevicePathLibDevicePathProtocol%2FUefiDevicePathLib.c;h=08a0191c14fd0a76bf2a4e0ec9cca2f7c3c786d0;hp=393c7f45280674213b080fab55c50fe0004ad601;hb=1bfc7438ab980ccac093ba86ab85b2b30e91f992;hpb=5fc55555204c03abc19ab7541b8d8005d6bd9569 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);