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

* commit '18d12fc91dd8b8fe2cc2da3bb8594ccc779b486a':
  A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17a
main
Ken Wakasa 2013-05-15 11:05:25 -07:00 committed by Android Git Automerger
commit 17a7b6976f
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) {