]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Add type cast to avoid build failure in VS2005.
authorQiu Shumin <shumin.qiu@intel.com>
Fri, 13 Mar 2015 02:04:17 +0000 (02:04 +0000)
committershenshushi <shenshushi@Edk2>
Fri, 13 Mar 2015 02:04:17 +0000 (02:04 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17043 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellLib/UefiShellLib.c

index 2e6301d70a6dce59ebcbef1628d9070a8e547e6c..da787f6b508544d4451e0681f6d9c4284e2c921d 100644 (file)
@@ -2101,7 +2101,7 @@ InternalCommandLineParse (
           ASSERT(GetItemValue == 0);\r
           break;\r
       }\r
-    } else if (GetItemValue != 0 && CurrentItemPackage != NULL && !InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, CurrentItemPackage->Type == TypeTimeValue)) {\r
+    } else if (GetItemValue != 0 && CurrentItemPackage != NULL && !InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, (BOOLEAN)(CurrentItemPackage->Type == TypeTimeValue))) {\r
       //\r
       // get the item VALUE for a previous flag\r
       //\r