]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix ICC build break
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 9 May 2009 18:09:41 +0000 (18:09 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 9 May 2009 18:09:41 +0000 (18:09 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8280 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Compatibility/Library/LanguageLib.c

index 9015865c2f0eab52ed34708c00b9e0ab5847c36b..d8201ce542dc480c5a00914a1c7ab6a73042bbf6 100644 (file)
@@ -238,7 +238,7 @@ InternalLanguageLibToLower (
   )\r
 {\r
   for (; Length > 0; Length--, Destination++, Source++) {\r
   )\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
   }\r
 }\r
 \r