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:
@@ -4589,17 +4589,16 @@ tagstack_push_items(win_T *wp, list_T *l)
|
||||
continue;
|
||||
if (list2fpos(&di->di_tv, &mark, &fnum, NULL, FALSE) != OK)
|
||||
continue;
|
||||
if ((tagname =
|
||||
dict_get_string(itemdict, (char_u *)"tagname", TRUE)) == NULL)
|
||||
if ((tagname = dict_get_string(itemdict, "tagname", TRUE)) == NULL)
|
||||
continue;
|
||||
|
||||
if (mark.col > 0)
|
||||
mark.col--;
|
||||
tagstack_push_item(wp, tagname,
|
||||
(int)dict_get_number(itemdict, (char_u *)"bufnr"),
|
||||
(int)dict_get_number(itemdict, (char_u *)"matchnr") - 1,
|
||||
(int)dict_get_number(itemdict, "bufnr"),
|
||||
(int)dict_get_number(itemdict, "matchnr") - 1,
|
||||
mark, fnum,
|
||||
dict_get_string(itemdict, (char_u *)"user_data", TRUE));
|
||||
dict_get_string(itemdict, "user_data", TRUE));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user