diff options
Diffstat (limited to 'MdePkg/Library/UefiDevicePathLibDevicePathProtocol')
-rw-r--r-- | MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c index 5dd0998762..25fcc8293c 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c @@ -182,7 +182,7 @@ IsDevicePathEndType ( )
{
ASSERT (Node != NULL);
- return (BOOLEAN) ((DevicePathType (Node) & 0x7f) == END_DEVICE_PATH_TYPE);
+ return (BOOLEAN) (DevicePathType (Node)) == END_DEVICE_PATH_TYPE);
}
/**
|