Merge "liblog: Fix bugprone-macro-parentheses warnings"
This commit is contained in:
commit
561df7bfb3
|
@ -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`,
|
||||
|
|
Loading…
Reference in New Issue