]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/Library/LanguageLib.c
Fix ICC build break
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / Library / LanguageLib.c
index 9015865c2f0eab52ed34708c00b9e0ab5847c36b..d8201ce542dc480c5a00914a1c7ab6a73042bbf6 100644 (file)
@@ -238,7 +238,7 @@ InternalLanguageLibToLower (
   )\r
 {\r
   for (; Length > 0; Length--, Destination++, Source++) {\r
-    *Destination = (*Source >= 'A' && *Source <= 'Z') ? *Source + ('a' - 'A') : *Source;\r
+    *Destination = (*Source >= 'A' && *Source <= 'Z') ? (CHAR8)(*Source + ('a' - 'A')) : *Source;\r
   }\r
 }\r
 \r