summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorkylo252 <59826753+kylo252@users.noreply.github.com>2022-02-16 19:24:07 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-16 19:24:07 +0000
commitae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 (patch)
tree4982335c2afa3ef8515860dabea038acbc2af406 /src/memline.c
parentd288eaad846f0e07e0141226f97d858dcf96cb78 (diff)
patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index 9c15fa7743..e1a4cb340d 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -227,7 +227,7 @@ static linenr_T lowest_marked = 0;
#define ML_INSERT 0x12 // insert line
#define ML_FIND 0x13 // just find the line
#define ML_FLUSH 0x02 // flush locked block
-#define ML_SIMPLE(x) (x & 0x10) // DEL, INS or FIND
+#define ML_SIMPLE(x) ((x) & 0x10) // DEL, INS or FIND
// argument for ml_upd_block0()
typedef enum {