diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-07 16:40:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 16:40:00 +0200 |
commit | 03471e292d48283379a397dadf902572de91b359 (patch) | |
tree | e0736597ec1b49250a128a58ae0f7e7e217c3f2f /src/nvim/testing.c | |
parent | eccb9896894f0e092b8d3c2519eb81b2a3fb3cca (diff) | |
parent | 2a378e6e82cececb12339f2df51ffe107039d867 (diff) | |
download | rneovim-03471e292d48283379a397dadf902572de91b359.tar.gz rneovim-03471e292d48283379a397dadf902572de91b359.tar.bz2 rneovim-03471e292d48283379a397dadf902572de91b359.zip |
Merge pull request #18425 from dundargoc/refactor/char_u/1
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/testing.c')
-rw-r--r-- | src/nvim/testing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testing.c b/src/nvim/testing.c index 07e1fe424b..9207ebe73b 100644 --- a/src/nvim/testing.c +++ b/src/nvim/testing.c @@ -90,7 +90,7 @@ static void ga_concat_shorten_esc(garray_T *gap, const char_u *str) const char_u *s = p; const int c = mb_ptr2char_adv(&s); const int clen = (int)(s - p); - while (*s != NUL && c == utf_ptr2char(s)) { + while (*s != NUL && c == utf_ptr2char((char *)s)) { same_len++; s += clen; } |