commit b0806472bfe24708f938cc053ce29af0b8cdb57d
Author: NRK <[email protected]>
AuthorDate: Wed Jun 29 09:07:49 2022 +0600
Commit: Laslo Hunhold <[email protected]>
CommitDate: Wed Jun 29 12:24:50 2022 +0200
macro-hygiene: wrap arguments in parenthesis
reported by clang-tidy.
diff --git a/src/utf8.c b/src/utf8.c
index 3584c61..46db763 100644
--- a/src/utf8.c
+++ b/src/utf8.c
@@ -4,7 +4,7 @@
#include "../grapheme.h"
#include "util.h"
-#define BETWEEN(c, l, u) (c >= l && c <= u)
+#define BETWEEN(c, l, u) ((c) >= (l) && (c) <= (u))
/* lookup-table for the types of sequence first bytes */
static const struct {