summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BasePrintLib
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-24 10:10:33 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-24 10:10:33 +0000
commit83f1f16a83f0d69a0acc93b3249e9e2b65f3a195 (patch)
treef4dc7551ae16147468eaf35bda8dc82160dafddc /MdePkg/Library/BasePrintLib
parent581900d983da378e5962875e05d6fb78e6303f08 (diff)
downloadedk2-83f1f16a83f0d69a0acc93b3249e9e2b65f3a195.tar.gz
edk2-83f1f16a83f0d69a0acc93b3249e9e2b65f3a195.tar.bz2
edk2-83f1f16a83f0d69a0acc93b3249e9e2b65f3a195.zip
Refine code to follow coding style.
Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12196 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BasePrintLib')
-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 64c99c6ac3..f4e8fa2d5a 100644
--- a/MdePkg/Library/BasePrintLib/PrintLibInternal.c
+++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
@@ -342,7 +342,7 @@ BasePrintLibSPrintMarker (
// DxePrintLibPrint2Protocol (both PrintLib instances).
//
- if (Flags & COUNT_ONLY_NO_PRINT) {
+ if ((Flags & COUNT_ONLY_NO_PRINT) != 0) {
if (BufferSize == 0) {
Buffer = NULL;
}