summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorShumin Qiu <shumin.qiu@intel.com>2014-02-28 00:36:03 +0000
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>2014-02-28 00:36:03 +0000
commitf716d7b8c5aca0d913edd8925808e474df4d3bdb (patch)
treec576b701e3229b108fcb85b4d9379fec77aced5e /ShellPkg
parentb9b77ab1ba0e5138307150a1a3caa4342d464f16 (diff)
downloadedk2-f716d7b8c5aca0d913edd8925808e474df4d3bdb.tar.gz
edk2-f716d7b8c5aca0d913edd8925808e474df4d3bdb.tar.bz2
edk2-f716d7b8c5aca0d913edd8925808e474df4d3bdb.zip
Convert the value from 'int' to 'CHAR16' to match the type of variable in ShellProtocol.c.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <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@15271 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Application/Shell/ShellProtocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c
index 31037bfdc5..116e3f2060 100644
--- a/ShellPkg/Application/Shell/ShellProtocol.c
+++ b/ShellPkg/Application/Shell/ShellProtocol.c
@@ -3006,7 +3006,7 @@ ToLower (
for (Index = 0; Str[Index] != L'\0'; Index++) {
if (Str[Index] >= L'A' && Str[Index] <= L'Z') {
- Str[Index] -= (L'A' - L'a');
+ Str[Index] -= (CHAR16)(L'A' - L'a');
}
}
return Str;