From 60ef6427852e990fecbf889cd62a6b1cf2e78517 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Sat, 9 May 2009 18:09:41 +0000 Subject: Fix ICC build break git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8280 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkCompatibilityPkg/Compatibility/Library/LanguageLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EdkCompatibilityPkg') 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; } } -- cgit v1.2.3