From 3c23100130725bb79c04e933c505bbeda96fb3bb Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 30 Apr 2022 16:48:00 +0200 Subject: refactor: replace char_u variables and functions with char (#18288) Work on https://github.com/neovim/neovim/issues/459 --- src/nvim/api/vim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/api/vim.c') diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 2174cd1620..ac2fc09056 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -568,7 +568,7 @@ void nvim_set_current_dir(String dir, Error *err) try_start(); - if (!changedir_func(string, kCdScopeGlobal)) { + if (!changedir_func((char *)string, kCdScopeGlobal)) { if (!try_end(err)) { api_set_error(err, kErrorTypeException, "Failed to change directory"); } -- cgit