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
This commit is contained in:
Shumin Qiu 2014-02-28 00:36:03 +00:00 committed by shenshushi
parent b9b77ab1ba
commit f716d7b8c5
1 changed files with 1 additions and 1 deletions

View File

@ -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;