summaryrefslogtreecommitdiff
path: root/src/optionstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/optionstr.c')
-rw-r--r--src/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index 4aa7cef5e..8d74ba0d5 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -181,7 +181,7 @@ trigger_optionsset_string(
set_vim_var_string(VV_OPTION_OLDLOCAL, oldval, -1);
}
apply_autocmds(EVENT_OPTIONSET,
- (char_u *)get_option_fullname(opt_idx), NULL, FALSE,
+ get_option_fullname(opt_idx), NULL, FALSE,
NULL);
reset_v_option_vars();
}