]> git.proxmox.com Git - mirror_edk2.git/commitdiff
fixed a build error with Intel IPF compiler
authorvprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Mar 2007 00:30:52 +0000 (00:30 +0000)
committervprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Mar 2007 00:30:52 +0000 (00:30 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2479 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Universal/UserInterface/SetupBrowser/Dxe/ProcessOptions.c

index 2306714537a6bcc54211c08e68b234ac73804b1d..f585568c3f57271bb6998bbd4cc4f6647bc50964 100644 (file)
@@ -1390,7 +1390,7 @@ ProcessHelpString (
   *FormattedString = AllocateZeroPool (VirtualLineCount * (BlockWidth + 1) * sizeof (CHAR16) * 2);\r
 \r
   for (CurrIndex = 0; CurrIndex < LineCount; CurrIndex ++) {\r
   *FormattedString = AllocateZeroPool (VirtualLineCount * (BlockWidth + 1) * sizeof (CHAR16) * 2);\r
 \r
   for (CurrIndex = 0; CurrIndex < LineCount; CurrIndex ++) {\r
-    *(*FormattedString + CurrIndex * 2 * (BlockWidth + 1)) = (IndexArray[CurrIndex*3+2] == 2) ? WIDE_CHAR : NARROW_CHAR;\r
+    *(*FormattedString + CurrIndex * 2 * (BlockWidth + 1)) = (CHAR16)((IndexArray[CurrIndex*3+2] == 2) ? WIDE_CHAR : NARROW_CHAR);\r
     StrnCpy (\r
       *FormattedString + CurrIndex * 2 * (BlockWidth + 1) + 1, \r
       StringPtr + IndexArray[CurrIndex*3], \r
     StrnCpy (\r
       *FormattedString + CurrIndex * 2 * (BlockWidth + 1) + 1, \r
       StringPtr + IndexArray[CurrIndex*3], \r