summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2013-11-27 03:13:15 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2013-11-27 03:13:15 +0000
commit2e7183ba91b90ac0a257a206080fe84849887cdc (patch)
tree3bdd2ea0a0aea77e7120467bcb4c914f21371ace /MdeModulePkg/Universal
parent7248790ee958c41b4ba2284f3b6835f1c3e505be (diff)
downloadedk2-platforms-2e7183ba91b90ac0a257a206080fe84849887cdc.tar.xz
Fix X64 build fail.
Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14903 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
index e2c6b29225..dbc5685b0e 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
@@ -2855,7 +2855,7 @@ UiDisplayMenu (
//
// First minus the menu of the top screen, it's value is SkipValue.
//
- if (SkipValue >= (INTN) (BottomRow - TopRow + 1)) {
+ if (SkipValue >= BottomRow - TopRow + 1) {
//
// SkipValue > (BottomRow - TopRow + 1) means current menu has more than one
// form of options to be show, so just update the SkipValue to show the next