diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-04 22:35:50 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-07 14:54:01 +0200 |
commit | 2a378e6e82cececb12339f2df51ffe107039d867 (patch) | |
tree | acf9250e683b303d2a22ff32455100cc4f6802cf /src/nvim/fold.c | |
parent | d9ec57e16a13f66a4b17edd872786e2c67348752 (diff) | |
download | rneovim-2a378e6e82cececb12339f2df51ffe107039d867.tar.gz rneovim-2a378e6e82cececb12339f2df51ffe107039d867.tar.bz2 rneovim-2a378e6e82cececb12339f2df51ffe107039d867.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r-- | src/nvim/fold.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c index af7288e103..56f3f4893d 100644 --- a/src/nvim/fold.c +++ b/src/nvim/fold.c @@ -1798,10 +1798,10 @@ char_u *get_foldtext(win_T *wp, linenr_T lnum, linenr_T lnume, foldinfo_T foldin // Replace unprintable characters, if there are any. But // replace a TAB with a space. for (p = text; *p != NUL; p++) { - int len = utfc_ptr2len(p); + int len = utfc_ptr2len((char *)p); if (len > 1) { - if (!vim_isprintc(utf_ptr2char(p))) { + if (!vim_isprintc(utf_ptr2char((char *)p))) { break; } p += len - 1; |