mirror of https://github.com/acidanthera/audk.git
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:
parent
57994d9c89
commit
f0e60d2661
|
@ -2052,7 +2052,7 @@ InternalPrintLibSPrintMarker (
|
|||
//
|
||||
for (Count = 0;
|
||||
ArgumentString[Count * BytesPerArgumentCharacter] != '\0' &&
|
||||
Count < Precision || ((Flags & PRECISION) == 0);
|
||||
(Count < Precision || ((Flags & PRECISION) == 0));
|
||||
Count++) {
|
||||
ArgumentCharacter = ((ArgumentString[Count * BytesPerArgumentCharacter] & 0xff) | ((ArgumentString[Count * BytesPerArgumentCharacter + 1]) << 8)) & ArgumentMask;
|
||||
if (ArgumentCharacter == 0) {
|
||||
|
|
Loading…
Reference in New Issue