mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
refactor: replace char_u with char (#21901)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -3915,7 +3915,7 @@ char *partial_name(partial_T *pt)
|
||||
if (pt->pt_name != NULL) {
|
||||
return pt->pt_name;
|
||||
}
|
||||
return (char *)pt->pt_func->uf_name;
|
||||
return pt->pt_func->uf_name;
|
||||
}
|
||||
|
||||
static void partial_free(partial_T *pt)
|
||||
@@ -5052,7 +5052,7 @@ void common_function(typval_T *argvars, typval_T *rettv, bool is_funcref)
|
||||
if (tv_list_len(list) == 0) {
|
||||
arg_idx = 0;
|
||||
} else if (tv_list_len(list) > MAX_FUNC_ARGS) {
|
||||
emsg_funcname((char *)e_toomanyarg, s);
|
||||
emsg_funcname(e_toomanyarg, s);
|
||||
xfree(name);
|
||||
goto theend;
|
||||
}
|
||||
|
Reference in New Issue
Block a user