diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-23 09:52:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-23 09:52:04 +0100 |
commit | d61efa50f8f5b9d9dcbc136705cc33874f0fdcb3 (patch) | |
tree | 7ca7416ffda546d9f45ba93d3c93f3418bd6bcd0 /src/tag.c | |
parent | 5ac50de83f1b4136f903c51a1d4e7d84a26c2271 (diff) |
patch 9.0.0063: too many type casts for dict_get functionsv9.0.0063
Problem: Too many type casts for dict_get functions.
Solution: Change the key argument from "char_u *" to "char *".
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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)); } } |