mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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:
@@ -1619,7 +1619,7 @@ readdirex_dict_arg(typval_T *tv, int *cmp)
|
||||
}
|
||||
|
||||
if (dict_has_key(tv->vval.v_dict, "sort"))
|
||||
compare = dict_get_string(tv->vval.v_dict, (char_u *)"sort", FALSE);
|
||||
compare = dict_get_string(tv->vval.v_dict, "sort", FALSE);
|
||||
else
|
||||
{
|
||||
semsg(_(e_dictionary_key_str_required), "sort");
|
||||
|
Reference in New Issue
Block a user