From e61a5331cb219a38a1b67620045c9f894669291f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 7 Jun 2020 22:17:26 -0700 Subject: Add parentheses to macros for better readability [clang-tidy] Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev --- src/xplist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xplist.c') diff --git a/src/xplist.c b/src/xplist.c index dc70864..3a92142 100644 --- a/src/xplist.c +++ b/src/xplist.c @@ -71,7 +71,7 @@ #define MAC_EPOCH 978307200 -#define MAX_DATA_BYTES_PER_LINE(__i) (((76 - (__i << 3)) >> 2) * 3) +#define MAX_DATA_BYTES_PER_LINE(__i) (((76 - ((__i) << 3)) >> 2) * 3) static const char XML_PLIST_PROLOG[] = "\n\ \n\ -- cgit v1.1-32-gdbae