From 582510249f2fb1334e507b99421b9485f6b89159 Mon Sep 17 00:00:00 2001 From: xli24 Date: Thu, 25 Jan 2007 06:05:36 +0000 Subject: 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 --- MdePkg/Library/BasePostCodeLibDebug/PostCode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdePkg/Library/BasePostCodeLibDebug') diff --git a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c index 37f060228b..a4996d326a 100644 --- a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c +++ b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c @@ -96,7 +96,7 @@ PostCodeEnabled ( VOID ) { - return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); } @@ -118,5 +118,5 @@ PostCodeDescriptionEnabled ( VOID ) { - return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); } -- cgit v1.2.3