From 95316d81633120244d53b85303447beb1a917f74 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 23 Dec 2020 17:31:34 -0800 Subject: [clang-tidy] add parentheses to macros Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev --- common/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/debug.c b/common/debug.c index a1c336b..6212e71 100644 --- a/common/debug.c +++ b/common/debug.c @@ -46,7 +46,7 @@ void internal_set_debug_level(int level) debug_level = level; } -#define MAX_PRINT_LEN 16*1024 +#define MAX_PRINT_LEN (16*1024) #ifndef STRIP_DEBUG_CODE static void debug_print_line(const char *func, const char *file, int line, const char *buffer) -- cgit v1.1-32-gdbae