]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePostCodeLibPort80/PostCode.c
Make MDE package pass intel IPF compiler with /W4 /WX switched on.
[mirror_edk2.git] / MdePkg / Library / BasePostCodeLibPort80 / PostCode.c
index 93c24d5eb6b4e86fa565d8efcdccd79ad912f027..3dfd024c2d8fe31f8380e73a4d4e71bc6ee0e255 100644 (file)
@@ -96,7 +96,7 @@ PostCodeEnabled (
   VOID\r
   )\r
 {\r
-  return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);\r
+  return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);\r
 }\r
 \r
 \r
@@ -119,5 +119,5 @@ PostCodeDescriptionEnabled (
   VOID\r
   )\r
 {\r
-  return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);\r
+  return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);\r
 }\r