aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-05-15 11:05:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-15 11:05:25 -0700
commit17a7b6976f12e5cfc6f6d3941c3c20cdda5fbf46 (patch)
treee04d454222b20865b6aec0899500a27e39e22338
parent4779ea605af796354c08e4bac39822027b1e0aaa (diff)
parent18d12fc91dd8b8fe2cc2da3bb8594ccc779b486a (diff)
downloadlatinime-17a7b6976f12e5cfc6f6d3941c3c20cdda5fbf46.tar.gz
latinime-17a7b6976f12e5cfc6f6d3941c3c20cdda5fbf46.tar.xz
latinime-17a7b6976f12e5cfc6f6d3941c3c20cdda5fbf46.zip
am 18d12fc9: am d69ad651: Merge "A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17a"
* commit '18d12fc91dd8b8fe2cc2da3bb8594ccc779b486a': A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17a
-rw-r--r--native/jni/src/binary_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/binary_format.h b/native/jni/src/binary_format.h
index ad16039ef..432a56b7f 100644
--- a/native/jni/src/binary_format.h
+++ b/native/jni/src/binary_format.h
@@ -164,7 +164,7 @@ inline int BinaryFormat::getFlags(const uint8_t *const dict) {
}
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) {