From dfdbae0e1142a51aaa9ddc7d78c5d13ddc23901f Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Thu, 5 Mar 2020 12:01:32 +0100 Subject: [PATCH] liblog: Fix bugprone-macro-parentheses warnings Change-Id: I91ab6d578e459b351468c0b6fc4b76b5f53d2441 --- liblog/include/android/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblog/include/android/log.h b/liblog/include/android/log.h index c98455dfa..b9839d6a8 100644 --- a/liblog/include/android/log.h +++ b/liblog/include/android/log.h @@ -156,7 +156,7 @@ typedef enum log_id { * Let the logging function choose the best log target. * This is not part of the enum since adding either -1 or 0xFFFFFFFF forces the enum to be signed or * unsigned, which breaks unfortunately common arithmetic against LOG_ID_MIN and LOG_ID_MAX. */ -#define LOG_ID_DEFAULT -1 +#define LOG_ID_DEFAULT (-1) /** * Writes the constant string `text` to the log buffer `id`,