]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/DxePrintLibPrint2Protocol: fix GCC5 build break
authorWang, Jian J <jian.j.wang@intel.com>
Fri, 29 Dec 2017 01:40:28 +0000 (09:40 +0800)
committerEric Dong <eric.dong@intel.com>
Fri, 29 Dec 2017 01:45:49 +0000 (09:45 +0800)
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>
MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c

index 570d06d82e849461572774133aeea794a2c62217..0e6178fc9c8fe23623e4634cc635b37b3798b01d 100644 (file)
@@ -2052,7 +2052,7 @@ InternalPrintLibSPrintMarker (
       //\r
       for (Count = 0;\r
             ArgumentString[Count * BytesPerArgumentCharacter] != '\0' &&\r
-            Count < Precision || ((Flags & PRECISION) == 0);\r
+            (Count < Precision || ((Flags & PRECISION) == 0));\r
             Count++) {\r
         ArgumentCharacter = ((ArgumentString[Count * BytesPerArgumentCharacter] & 0xff) | ((ArgumentString[Count * BytesPerArgumentCharacter + 1]) << 8)) & ArgumentMask;\r
         if (ArgumentCharacter == 0) {\r