From f716d7b8c5aca0d913edd8925808e474df4d3bdb Mon Sep 17 00:00:00 2001 From: Shumin Qiu Date: Fri, 28 Feb 2014 00:36:03 +0000 Subject: [PATCH] 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 Reviewed-by: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15271 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/Shell/ShellProtocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2