aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-01 10:35:48 +0200
committerGitHub <noreply@github.com>2022-05-01 10:35:48 +0200
commitd9dcfd0219d51add74e6d93d5d1408be4b47bd97 (patch)
treef2144153081387585579c3d1440f78bdf1992331 /src/nvim/main.c
parent07660193a38918aa6a17ec691c4e8b021436ed67 (diff)
parentaf782a630633ffe0cb082bda974b24d4f577313e (diff)
downloadrneovim-d9dcfd0219d51add74e6d93d5d1408be4b47bd97.tar.gz
rneovim-d9dcfd0219d51add74e6d93d5d1408be4b47bd97.tar.bz2
rneovim-d9dcfd0219d51add74e6d93d5d1408be4b47bd97.zip
Merge pull request #18334 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
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()) {