summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c')
-rw-r--r--MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
index 2407c7ea6a..c9852891aa 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
@@ -2049,7 +2049,7 @@ UiDisplayMenu (
gStatementDimensions.LeftColumn + gModalSkipColumn,
Link == TopOfScreen ? SkipValue : 0,
BottomRow,
- Link == NewPos && IsSelectable(MenuOption)
+ (BOOLEAN) ((Link == NewPos) && IsSelectable(MenuOption))
);
} else {
DisplayOneMenu (MenuOption,
@@ -2057,7 +2057,7 @@ UiDisplayMenu (
gStatementDimensions.LeftColumn,
Link == TopOfScreen ? SkipValue : 0,
BottomRow,
- Link == NewPos && IsSelectable(MenuOption)
+ (BOOLEAN) ((Link == NewPos) && IsSelectable(MenuOption))
);
}