mirror of https://github.com/acidanthera/audk.git
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:
parent
b9b77ab1ba
commit
f716d7b8c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue