diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-03 11:02:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 11:02:04 +0200 |
commit | 8ea84eee570fd1ec560fe149e611d10034d9a223 (patch) | |
tree | 807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/edit.c | |
parent | 46734cf7c1e5abe8e452354db6914364bfe89f0d (diff) | |
parent | b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (diff) | |
download | rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.gz rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.bz2 rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.zip |
Merge pull request #18345 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index a94f7a803a..6a6d433228 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -4028,7 +4028,7 @@ static void expand_by_function(int type, char_u *base) curbuf_save = curbuf; // Call a function, which returns a list or dict. - if (call_vim_function(funcname, 2, args, &rettv) == OK) { + if (call_vim_function((char *)funcname, 2, args, &rettv) == OK) { switch (rettv.v_type) { case VAR_LIST: matchlist = rettv.vval.v_list; @@ -5311,7 +5311,7 @@ static int ins_complete(int c, bool enable_pum) pos = curwin->w_cursor; curwin_save = curwin; curbuf_save = curbuf; - int col = call_func_retnr(funcname, 2, args); + int col = call_func_retnr((char *)funcname, 2, args); State = save_State; if (curwin_save != curwin || curbuf_save != curbuf) { |