]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Refine code to follow coding style.
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 14 Sep 2011 05:30:53 +0000 (05:30 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 14 Sep 2011 05:30:53 +0000 (05:30 +0000)
Signed-of-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12346 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BasePrintLib/PrintLibInternal.c

index 3374d97e3a5c816ae05dc3a3405ce157296b8c42..30451b922efd44694d81d5ef0705115228335865 100644 (file)
@@ -928,7 +928,7 @@ BasePrintLibSPrintMarker (
     FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask;\r
   }\r
 \r
     FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask;\r
   }\r
 \r
-  if (Flags & COUNT_ONLY_NO_PRINT) {\r
+  if ((Flags & COUNT_ONLY_NO_PRINT) != 0) {\r
     return (LengthToReturn / BytesPerOutputCharacter);\r
   }\r
 \r
     return (LengthToReturn / BytesPerOutputCharacter);\r
   }\r
 \r