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:
Wang, Jian J 2017-12-29 09:40:28 +08:00 committed by Eric Dong
parent 57994d9c89
commit f0e60d2661
1 changed files with 1 additions and 1 deletions

View File

@ -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) {