diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2014-11-12 01:07:23 +0000 |
---|---|---|
committer | shenshushi <shenshushi@Edk2> | 2014-11-12 01:07:23 +0000 |
commit | 1531a469ebc1e0130af04aa10c533b497fc3198a (patch) | |
tree | 05e275c52b1c4aa47e46e47d09eba65d00152015 | |
parent | 6b980b679643eb4d46370f25ec26e287bb5e15bc (diff) | |
download | edk2-platforms-1531a469ebc1e0130af04aa10c533b497fc3198a.tar.xz |
ShellPkg: Add type cast to avoid build failure in VS2005.
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@16333 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | ShellPkg/Library/UefiShellLib/UefiShellLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c index 4a4c40a928..665e733403 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c @@ -2078,7 +2078,7 @@ InternalCommandLineParse ( ASSERT(GetItemValue == 0);
break;
}
- } else if (GetItemValue != 0 && !InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, CurrentItemPackage->Type == TypeTimeValue)) {
+ } else if (GetItemValue != 0 && !InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, (CONST BOOLEAN)(CurrentItemPackage->Type == TypeTimeValue))) {
ASSERT(CurrentItemPackage != NULL);
//
// get the item VALUE for a previous flag
|