forked from aniani/vim
patch 9.0.0063: too many type casts for dict_get functions
Problem: Too many type casts for dict_get functions. Solution: Change the key argument from "char_u *" to "char *".
This commit is contained in:
@@ -863,7 +863,7 @@ f_timer_start(typval_T *argvars, typval_T *rettv)
|
||||
return;
|
||||
}
|
||||
if (dict_has_key(dict, "repeat"))
|
||||
repeat = dict_get_number(dict, (char_u *)"repeat");
|
||||
repeat = dict_get_number(dict, "repeat");
|
||||
}
|
||||
|
||||
callback = get_callback(&argvars[1]);
|
||||
|
Reference in New Issue
Block a user