diff --git a/logd/LogKlog.cpp b/logd/LogKlog.cpp index 062ffb28f..7d1464899 100644 --- a/logd/LogKlog.cpp +++ b/logd/LogKlog.cpp @@ -83,7 +83,7 @@ static char *is_timestamp(char *s) { #define LESS_THAN_SIG SIGNATURE_MASK #define OPEN_BRACKET_SIG ((SIGNATURE_MASK << 1) & SIGNATURE_MASK) // space is one more than of 9 -#define OPEN_BRACKET_SPACE (OPEN_BRACKET_SIG | 10) +#define OPEN_BRACKET_SPACE ((char)(OPEN_BRACKET_SIG | 10)) char *log_strtok_r(char *s, char **last) { if (!s) {