From: Eric Dong Date: Wed, 27 Nov 2013 03:13:15 +0000 (+0000) Subject: Fix X64 build fail. X-Git-Tag: edk2-stable201903~12054 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2e7183ba91b90ac0a257a206080fe84849887cdc;p=mirror_edk2.git Fix X64 build fail. Signed-off-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14903 6f19259b-4bc3-4df7-8a09-765794883524 --- 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