aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-13 00:35:39 +0100
committerGitHub <noreply@github.com>2023-01-13 07:35:39 +0800
commitf2141de9e462ed8976b2a59337c32a0fcba2a11d (patch)
tree30de2ad03e5ed71bcff9fc29edde84322281b5bb /src/nvim/option.c
parent2f1fd15554921dc2375c2ad136e727229e72348a (diff)
downloadrneovim-f2141de9e462ed8976b2a59337c32a0fcba2a11d.tar.gz
rneovim-f2141de9e462ed8976b2a59337c32a0fcba2a11d.tar.bz2
rneovim-f2141de9e462ed8976b2a59337c32a0fcba2a11d.zip
refactor: replace char_u with char 20 (#21714)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index fe905a5a05..423787ecfc 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -4783,7 +4783,7 @@ void ExpandOldSetting(int *num_file, char ***file)
// A backslash is required before some characters. This is the reverse of
// what happens in do_set().
- char_u *buf = vim_strsave_escaped((char_u *)var, escape_chars);
+ char_u *buf = (char_u *)vim_strsave_escaped(var, (char *)escape_chars);
#ifdef BACKSLASH_IN_FILENAME
// For MS-Windows et al. we don't double backslashes at the start and