diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 23:11:25 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2022-11-19 16:27:10 +0100 |
commit | 40f3f75867bf03abfd90e0389a38197a00d37af1 (patch) | |
tree | d14642161d70ef658f5b23fea1693e0be9a84804 /src/nvim/indent_c.c | |
parent | 6e8ed5abaa9c33d1d78ab7ff5b07dd5bac623a1d (diff) | |
download | rneovim-40f3f75867bf03abfd90e0389a38197a00d37af1.tar.gz rneovim-40f3f75867bf03abfd90e0389a38197a00d37af1.tar.bz2 rneovim-40f3f75867bf03abfd90e0389a38197a00d37af1.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/indent_c.c')
-rw-r--r-- | src/nvim/indent_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/indent_c.c b/src/nvim/indent_c.c index 77fe176de1..0f1159fb94 100644 --- a/src/nvim/indent_c.c +++ b/src/nvim/indent_c.c @@ -1003,7 +1003,7 @@ static int cin_iswhileofdo(const char_u *p, linenr_T lnum) // XXX curwin->w_cursor.col++; } if ((trypos = findmatchlimit(NULL, 0, 0, curbuf->b_ind_maxparen)) != NULL - && *cin_skipcomment(ml_get_pos(trypos) + 1) == ';') { + && *cin_skipcomment((char_u *)ml_get_pos(trypos) + 1) == ';') { retval = true; } curwin->w_cursor = cursor_save; |