Signed-of-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12346
6f19259b-4bc3-4df7-8a09-
765794883524
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