From: mdkinney Date: Sat, 9 May 2009 18:09:41 +0000 (+0000) Subject: Fix ICC build break X-Git-Tag: edk2-stable201903~17990 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=60ef6427852e990fecbf889cd62a6b1cf2e78517 Fix ICC build break git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8280 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkCompatibilityPkg/Compatibility/Library/LanguageLib.c b/EdkCompatibilityPkg/Compatibility/Library/LanguageLib.c index 9015865c2f..d8201ce542 100644 --- a/EdkCompatibilityPkg/Compatibility/Library/LanguageLib.c +++ b/EdkCompatibilityPkg/Compatibility/Library/LanguageLib.c @@ -238,7 +238,7 @@ InternalLanguageLibToLower ( ) { for (; Length > 0; Length--, Destination++, Source++) { - *Destination = (*Source >= 'A' && *Source <= 'Z') ? *Source + ('a' - 'A') : *Source; + *Destination = (*Source >= 'A' && *Source <= 'Z') ? (CHAR8)(*Source + ('a' - 'A')) : *Source; } }