diff options
author | Wang, Jian J <jian.j.wang@intel.com> | 2017-12-29 09:40:28 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2017-12-29 09:45:49 +0800 |
commit | f0e60d266166d834c9905b7d44de510cf4e8f3ea (patch) | |
tree | 54bd26237a3022ee7b1e0cebaecbc111160abb8e /MdeModulePkg | |
parent | 57994d9c890493760c65922e4fbee7529cbad164 (diff) | |
download | edk2-f0e60d266166d834c9905b7d44de510cf4e8f3ea.tar.gz edk2-f0e60d266166d834c9905b7d44de510cf4e8f3ea.tar.bz2 edk2-f0e60d266166d834c9905b7d44de510cf4e8f3ea.zip |
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>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c index 570d06d82e..0e6178fc9c 100644 --- a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c +++ b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c @@ -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) {
|