MdeModulePkg/DxePrintLibPrint2Protocol: fix GCC5 build break
Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -2052,7 +2052,7 @@ InternalPrintLibSPrintMarker (
|
|||||||
//
|
//
|
||||||
for (Count = 0;
|
for (Count = 0;
|
||||||
ArgumentString[Count * BytesPerArgumentCharacter] != '\0' &&
|
ArgumentString[Count * BytesPerArgumentCharacter] != '\0' &&
|
||||||
Count < Precision || ((Flags & PRECISION) == 0);
|
(Count < Precision || ((Flags & PRECISION) == 0));
|
||||||
Count++) {
|
Count++) {
|
||||||
ArgumentCharacter = ((ArgumentString[Count * BytesPerArgumentCharacter] & 0xff) | ((ArgumentString[Count * BytesPerArgumentCharacter + 1]) << 8)) & ArgumentMask;
|
ArgumentCharacter = ((ArgumentString[Count * BytesPerArgumentCharacter] & 0xff) | ((ArgumentString[Count * BytesPerArgumentCharacter + 1]) << 8)) & ArgumentMask;
|
||||||
if (ArgumentCharacter == 0) {
|
if (ArgumentCharacter == 0) {
|
||||||
|
Reference in New Issue
Block a user