aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2022-11-26 18:57:46 +0100
committerzeertzjq <zeertzjq@outlook.com>2023-01-09 17:03:40 +0800
commit08c2c7480619ccdf0c92fe6ce76da5b73b0e395b (patch)
tree2759bc2cb18bd7edc20fd17e7e0aeb8631bd957c /src/nvim/charset.c
parent53adccb6e0292f7ba5524121c0200a73aec977a6 (diff)
downloadrneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.tar.gz
rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.tar.bz2
rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.zip
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r--src/nvim/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index 51eddd5850..51ea7f3205 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -1721,7 +1721,7 @@ bool rem_backslash(const char *str)
|| (str[1] != NUL
&& str[1] != '*'
&& str[1] != '?'
- && !vim_isfilec(str[1])));
+ && !vim_isfilec((uint8_t)str[1])));
#else // ifdef BACKSLASH_IN_FILENAME
return str[0] == '\\' && str[1] != NUL;