]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c
Fix build failed
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / GenericBdsLib / BdsMisc.c
index 0a034cda96755f5f214a11164b1b4d4c8065f96d..5841756c4343907dcd1ad386e91c8d22a09117ab 100644 (file)
@@ -548,7 +548,7 @@ ValidateOption (
     return FALSE;\r
   }\r
 \r
-  return GetDevicePathSizeEx (DevicePath, FilePathSize) != 0;\r
+  return (BOOLEAN) (GetDevicePathSizeEx (DevicePath, FilePathSize) != 0);\r
 }\r
 \r
 /**\r