Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -210,14 +210,17 @@ Returns:
|
||||
|
||||
if (Narrow) {
|
||||
for (Value = 0; Value != Count; Value++) {
|
||||
*GlyphBuffer[Location + Value] |= GlobalData->NarrowGlyphs[Character].GlyphCol1[Value];
|
||||
*GlyphBuffer[Location + Value] = (UINT8) (*GlyphBuffer[Location + Value] |
|
||||
GlobalData->NarrowGlyphs[Character].GlyphCol1[Value]);
|
||||
}
|
||||
|
||||
Attributes = GlobalData->NarrowGlyphs[Character].Attributes & EFI_GLYPH_NON_SPACING;
|
||||
} else {
|
||||
for (Value = 0; Value != Count; Value++) {
|
||||
*GlyphBuffer[Location + Value] |= GlobalData->WideGlyphs[Character].GlyphCol1[Value];
|
||||
*GlyphBuffer[Location + Value + Count] |= GlobalData->WideGlyphs[Character].GlyphCol2[Value];
|
||||
*GlyphBuffer[Location + Value] = (UINT8) (*GlyphBuffer[Location + Value] |
|
||||
GlobalData->WideGlyphs[Character].GlyphCol1[Value]);
|
||||
*GlyphBuffer[Location + Value + Count] = (UINT8) (*GlyphBuffer[Location + Value + Count] |
|
||||
GlobalData->WideGlyphs[Character].GlyphCol2[Value]);
|
||||
}
|
||||
|
||||
Attributes = GlobalData->WideGlyphs[Character].Attributes & EFI_GLYPH_NON_SPACING;
|
||||
|
Reference in New Issue
Block a user