Skip to content
Snippets Groups Projects
Commit dad23dda authored by Ken Wakasa's avatar Ken Wakasa
Browse files

A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17a

Change-Id: Id3727f075e74c0102edcb51eabcfdbef745b94b7
parent abd1ad86
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ inline int BinaryFormat::getFlags(const uint8_t *const dict) { ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment