\r
if (Narrow) {\r
for (Value = 0; Value != Count; Value++) {\r
- *GlyphBuffer[Location + Value] |= GlobalData->NarrowGlyphs[Character].GlyphCol1[Value];\r
+ *GlyphBuffer[Location + Value] = (UINT8) (*GlyphBuffer[Location + Value] |\r
+ GlobalData->NarrowGlyphs[Character].GlyphCol1[Value]);\r
}\r
\r
Attributes = GlobalData->NarrowGlyphs[Character].Attributes & EFI_GLYPH_NON_SPACING;\r
} else {\r
for (Value = 0; Value != Count; Value++) {\r
- *GlyphBuffer[Location + Value] |= GlobalData->WideGlyphs[Character].GlyphCol1[Value];\r
- *GlyphBuffer[Location + Value + Count] |= GlobalData->WideGlyphs[Character].GlyphCol2[Value];\r
+ *GlyphBuffer[Location + Value] = (UINT8) (*GlyphBuffer[Location + Value] | \r
+ GlobalData->WideGlyphs[Character].GlyphCol1[Value]);\r
+ *GlyphBuffer[Location + Value + Count] = (UINT8) (*GlyphBuffer[Location + Value + Count] |\r
+ GlobalData->WideGlyphs[Character].GlyphCol2[Value]);\r
}\r
\r
Attributes = GlobalData->WideGlyphs[Character].Attributes & EFI_GLYPH_NON_SPACING;\r