From b004a7fe6f4c6465044764eb8fd9bd410c4fe95b Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Tue, 8 Dec 2015 14:52:11 -0800 Subject: [PATCH] liblog: Build Problem, BOOLEAN Checks with BOOLEAN_FALSE and BOOLEAN_TRUE should be made against an unsigned char. Bug: 26029733 Change-Id: I405f45a4d6ddae1b060b0e8da9c1585298abe8bd --- liblog/log_is_loggable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblog/log_is_loggable.c b/liblog/log_is_loggable.c index 854ecfabc..b4711d28e 100644 --- a/liblog/log_is_loggable.c +++ b/liblog/log_is_loggable.c @@ -42,7 +42,7 @@ static void unlock() struct cache { const prop_info *pinfo; uint32_t serial; - char c; + unsigned char c; }; #define BOOLEAN_TRUE 0xFF