Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfdbae0e authored by Luca Stefani's avatar Luca Stefani
Browse files

liblog: Fix bugprone-macro-parentheses warnings

Change-Id: I91ab6d578e459b351468c0b6fc4b76b5f53d2441
parent 541d0d28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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`,