summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;