From dad23dda9d8e48c5d646ce92afafe791f27251da Mon Sep 17 00:00:00 2001
From: Ken Wakasa <kwakasa@google.com>
Date: Sat, 27 Apr 2013 00:24:34 +0900
Subject: [PATCH] A small follow-up to
 I8d03bae3264974eff7b790e27c073b0a8758d17a

Change-Id: Id3727f075e74c0102edcb51eabcfdbef745b94b7
---
 native/jni/src/binary_format.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/jni/src/binary_format.h b/native/jni/src/binary_format.h
index ad16039ef8..432a56b7fa 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) {
-- 
GitLab