Merge "liblog: Fix bugprone-macro-parentheses warnings"

This commit is contained in:
Treehugger Robot 2020-03-05 22:44:04 +00:00 committed by Gerrit Code Review
commit 561df7bfb3
1 changed files with 1 additions and 1 deletions

View File

@ -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`,