summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar Rosen Penev2020-12-23 17:31:34 -0800
committerGravatar Nikias Bassen2022-04-22 13:22:38 +0200
commit95316d81633120244d53b85303447beb1a917f74 (patch)
treed836d7b096a86bc64b1e64c09f6c4433b0df67cb /common
parent78040882a30666f29985bc6589be03cbc7d7cfbe (diff)
downloadlibimobiledevice-95316d81633120244d53b85303447beb1a917f74.tar.gz
libimobiledevice-95316d81633120244d53b85303447beb1a917f74.tar.bz2
[clang-tidy] add parentheses to macros
Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/debug.c2
1 files changed, 1 insertions, 1 deletions
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)