aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 792c8d3aec..02dc5ec954 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -124,13 +124,13 @@ typedef struct {
#define VV(idx, name, type, flags) \
[idx] = { \
- .vv_name = name, \
+ .vv_name = (name), \
.vv_di = { \
- .di_tv = { .v_type = type }, \
+ .di_tv = { .v_type = (type) }, \
.di_flags = 0, \
.di_key = { 0 }, \
}, \
- .vv_flags = flags, \
+ .vv_flags = (flags), \
}
#define VIMVAR_KEY_LEN 16 // Maximum length of the key of v:variables