Revision: 17043 http://sourceforge.net/p/edk2/code/17043 Author: shenshushi Date: 2015-03-13 02:04:17 +0000 (Fri, 13 Mar 2015) Log Message: ----------- ShellPkg: Add type cast to avoid build failure in VS2005.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin....@intel.com> Reviewed-by: Jaben Carsey <jaben.car...@intel.com> Modified Paths: -------------- trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c Modified: trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c =================================================================== --- trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c 2015-03-13 01:24:16 UTC (rev 17042) +++ trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c 2015-03-13 02:04:17 UTC (rev 17043) @@ -2101,7 +2101,7 @@ ASSERT(GetItemValue == 0); break; } - } else if (GetItemValue != 0 && CurrentItemPackage != NULL && !InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, CurrentItemPackage->Type == TypeTimeValue)) { + } else if (GetItemValue != 0 && CurrentItemPackage != NULL && !InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, (BOOLEAN)(CurrentItemPackage->Type == TypeTimeValue))) { // // get the item VALUE for a previous flag // ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits