summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PeiDxePostCodeLibReportStatusCode
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-25 06:05:36 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-25 06:05:36 +0000
commit582510249f2fb1334e507b99421b9485f6b89159 (patch)
treecd9d7414885d26e79565cd12ec241af93dc600f2 /MdePkg/Library/PeiDxePostCodeLibReportStatusCode
parentba3a1cb5bb97ffdea980f188fbd14b08200aeac6 (diff)
downloadedk2-582510249f2fb1334e507b99421b9485f6b89159.tar.gz
edk2-582510249f2fb1334e507b99421b9485f6b89159.tar.bz2
edk2-582510249f2fb1334e507b99421b9485f6b89159.zip
Make MDE package pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiDxePostCodeLibReportStatusCode')
-rw-r--r--MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
index c57489dc3d..408ede45c7 100644
--- a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
+++ b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
@@ -123,7 +123,7 @@ PostCodeEnabled (
VOID
)
{
- return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);
+ return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);
}
@@ -146,5 +146,5 @@ PostCodeDescriptionEnabled (
VOID
)
{
- return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);
+ return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);
}