am d69ad651: Merge "A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17a"

* commit 'd69ad65156cca8e42b5d94650139da0528235c66':
  A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17a
This commit is contained in:
Ken Wakasa 2013-04-26 08:29:22 -07:00 committed by Android Git Automerger
commit 18d12fc91d

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) {