aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-07 16:40:00 +0200
committerGitHub <noreply@github.com>2022-05-07 16:40:00 +0200
commit03471e292d48283379a397dadf902572de91b359 (patch)
treee0736597ec1b49250a128a58ae0f7e7e217c3f2f /src/nvim/mark.c
parenteccb9896894f0e092b8d3c2519eb81b2a3fb3cca (diff)
parent2a378e6e82cececb12339f2df51ffe107039d867 (diff)
downloadrneovim-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/mark.c')
-rw-r--r--src/nvim/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index 0a9b1b26ef..02ae148396 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -1579,7 +1579,7 @@ void mark_mb_adjustpos(buf_T *buf, pos_T *lp)
// double-wide character.
if (lp->coladd == 1
&& p[lp->col] != TAB
- && vim_isprintc(utf_ptr2char(p + lp->col))
+ && vim_isprintc(utf_ptr2char((char *)p + lp->col))
&& ptr2cells(p + lp->col) > 1) {
lp->coladd = 0;
}