diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c index 0a034cda96..5841756c43 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c @@ -548,7 +548,7 @@ ValidateOption ( return FALSE; } - return GetDevicePathSizeEx (DevicePath, FilePathSize) != 0; + return (BOOLEAN) (GetDevicePathSizeEx (DevicePath, FilePathSize) != 0); } /**