aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-04-30 20:28:04 +0200
committerDundar Goc <gocdundar@gmail.com>2022-04-30 23:39:17 +0200
commitaf782a630633ffe0cb082bda974b24d4f577313e (patch)
tree7a65343a9d6cdd926aa46db55dd263c2d9eda793 /src/nvim/main.c
parent0344736aa698dc205f8f9f80609b7033308d39ca (diff)
downloadrneovim-af782a630633ffe0cb082bda974b24d4f577313e.tar.gz
rneovim-af782a630633ffe0cb082bda974b24d4f577313e.tar.bz2
rneovim-af782a630633ffe0cb082bda974b24d4f577313e.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 480b5ab0b5..952064ab73 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1748,8 +1748,8 @@ static void edit_buffers(mparm_T *parmp, char_u *cwd)
// at the ATTENTION prompt close the window.
swap_exists_did_quit = false;
(void)do_ecmd(0, arg_idx < GARGCOUNT
- ? alist_name(&GARGLIST[arg_idx]) : NULL,
- NULL, NULL, ECMD_LASTL, ECMD_HIDE, curwin);
+ ? (char *)alist_name(&GARGLIST[arg_idx])
+ : NULL, NULL, NULL, ECMD_LASTL, ECMD_HIDE, curwin);
if (swap_exists_did_quit) {
// abort or quit selected
if (got_int || only_one_window()) {