summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-14 05:30:53 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-14 05:30:53 +0000
commit4ae2e63ca4d22557f60c593250a1c5158ab87e09 (patch)
treeafcdfcc412b7c5d903414cbb0fd58b3012a02a1c
parentae4cb94fa6170b5c4b02d1ab3d042a2452c18394 (diff)
downloadedk2-platforms-4ae2e63ca4d22557f60c593250a1c5158ab87e09.tar.xz
Refine code to follow coding style.
Signed-of-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12346 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/BasePrintLib/PrintLibInternal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.c b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
index 3374d97e3a..30451b922e 100644
--- a/MdePkg/Library/BasePrintLib/PrintLibInternal.c
+++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
@@ -928,7 +928,7 @@ BasePrintLibSPrintMarker (
FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask;
}
- if (Flags & COUNT_ONLY_NO_PRINT) {
+ if ((Flags & COUNT_ONLY_NO_PRINT) != 0) {
return (LengthToReturn / BytesPerOutputCharacter);
}