A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17a

Change-Id: Id3727f075e74c0102edcb51eabcfdbef745b94b7
main
Ken Wakasa 2013-04-27 00:24:34 +09:00
parent abd1ad86ec
commit dad23dda9d
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ inline int BinaryFormat::getFlags(const uint8_t *const dict) {
} }
inline bool BinaryFormat::hasBlacklistedOrNotAWordFlag(const int flags) { inline bool BinaryFormat::hasBlacklistedOrNotAWordFlag(const int flags) {
return flags & (FLAG_IS_BLACKLISTED | FLAG_IS_NOT_A_WORD); return (flags & (FLAG_IS_BLACKLISTED | FLAG_IS_NOT_A_WORD)) != 0;
} }
inline int BinaryFormat::getHeaderSize(const uint8_t *const dict) { inline int BinaryFormat::getHeaderSize(const uint8_t *const dict) {