summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2014-11-27 02:14:14 +0000
committerydong10 <ydong10@Edk2>2014-11-27 02:14:14 +0000
commit2e097165e9ad2bfc373b2a8f1126267f14ca26a3 (patch)
treef0f9ee63dcb9e86465bee8a249c408535113a82d /MdeModulePkg
parent01331951708f980fca1fb3a791ab544adcd3a5d0 (diff)
downloadedk2-platforms-2e097165e9ad2bfc373b2a8f1126267f14ca26a3.tar.xz
Fix build fail for VS2005 tool chain.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16451 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
index 80b4bfdc4f..cdfd383a47 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
@@ -1525,7 +1525,7 @@ IsSavedHighlightStatement (
if ((gFormData->HiiHandle == gHighligthMenuInfo.HiiHandle) &&
(gFormData->FormId == gHighligthMenuInfo.FormId)) {
if (gHighligthMenuInfo.HLTQuestionId != 0) {
- return (gHighligthMenuInfo.HLTQuestionId == GetQuestionIdInfo (HighLightedStatement->OpCode));
+ return (BOOLEAN) (gHighligthMenuInfo.HLTQuestionId == GetQuestionIdInfo (HighLightedStatement->OpCode));
} else {
if (CompareMem (gHighligthMenuInfo.HLTOpCode, HighLightedStatement->OpCode, gHighligthMenuInfo.HLTOpCode->Length) == 0) {
if (gHighligthMenuInfo.HLTIndex == 0 || gHighligthMenuInfo.HLTIndex == GetIndexInfoForOpcode(HighLightedStatement->OpCode)) {
@@ -1556,12 +1556,12 @@ IsHighLightMenuOption (
{
if (gHighligthMenuInfo.HLTQuestionId != 0) {
if (GetQuestionIdInfo(MenuOption->ThisTag->OpCode) == gHighligthMenuInfo.HLTQuestionId) {
- return (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
+ return (BOOLEAN) (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
}
} else {
if(CompareMem (gHighligthMenuInfo.HLTOpCode, MenuOption->ThisTag->OpCode, gHighligthMenuInfo.HLTOpCode->Length) == 0) {
if (gHighligthMenuInfo.HLTIndex == 0 || gHighligthMenuInfo.HLTIndex == GetIndexInfoForOpcode(MenuOption->ThisTag->OpCode)) {
- return (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
+ return (BOOLEAN) (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
} else {
return FALSE;
}
@@ -1648,7 +1648,7 @@ IsTopOfScreeMenuOption (
)
{
if (gHighligthMenuInfo.TOSQuestionId != 0) {
- return (GetQuestionIdInfo(MenuOption->ThisTag->OpCode) == gHighligthMenuInfo.TOSQuestionId);
+ return (BOOLEAN) (GetQuestionIdInfo(MenuOption->ThisTag->OpCode) == gHighligthMenuInfo.TOSQuestionId);
}
if(CompareMem (gHighligthMenuInfo.TOSOpCode, MenuOption->ThisTag->OpCode, gHighligthMenuInfo.TOSOpCode->Length) == 0) {