aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-10 03:28:01 +0100
committerGitHub <noreply@github.com>2023-01-10 10:28:01 +0800
commitef6750332008b7b61dde9eeab0da454bf3323ebb (patch)
tree8b5f1e50ab2b5111022f8f9b410b377c1d2c94ad /src/nvim/eval.c
parentf62da7381e9cd4dd4e926fda320132e8fccf6e48 (diff)
downloadrneovim-ef6750332008b7b61dde9eeab0da454bf3323ebb.tar.gz
rneovim-ef6750332008b7b61dde9eeab0da454bf3323ebb.tar.bz2
rneovim-ef6750332008b7b61dde9eeab0da454bf3323ebb.zip
refactor: replace char_u with char 19 (#21241)
* refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 17eb08cee6..de6f150304 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -8007,7 +8007,7 @@ repeat:
s++;
}
- int sep = (char_u)(*s++);
+ int sep = (uint8_t)(*s++);
if (sep) {
// find end of pattern
p = vim_strchr(s, sep);
@@ -8040,7 +8040,7 @@ repeat:
if (src[*usedlen] == ':' && src[*usedlen + 1] == 'S') {
// vim_strsave_shellescape() needs a NUL terminated string.
- c = (char_u)(*fnamep)[*fnamelen];
+ c = (uint8_t)(*fnamep)[*fnamelen];
if (c != NUL) {
(*fnamep)[*fnamelen] = NUL;
}