diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 23:11:25 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2022-09-01 10:47:42 +0200 |
commit | 49e893f296bca9eef5ff45a3d746c261d055bf10 (patch) | |
tree | 37b6cb103f0fbff4922708e2996e51223c3204ba /src/nvim/textobject.c | |
parent | 48ca1d4ce8c0a142e90e06b3cd37f1315c5eb715 (diff) | |
download | rneovim-49e893f296bca9eef5ff45a3d746c261d055bf10.tar.gz rneovim-49e893f296bca9eef5ff45a3d746c261d055bf10.tar.bz2 rneovim-49e893f296bca9eef5ff45a3d746c261d055bf10.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/textobject.c')
-rw-r--r-- | src/nvim/textobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/textobject.c b/src/nvim/textobject.c index a8f4cc7aeb..6863b40599 100644 --- a/src/nvim/textobject.c +++ b/src/nvim/textobject.c @@ -1032,7 +1032,7 @@ int current_block(oparg_T *oap, long count, bool include, int what, int other) /// @return true if the cursor is on a "<aaa>" tag. Ignore "<aaa/>". static bool in_html_tag(bool end_tag) { - char_u *line = get_cursor_line_ptr(); + char_u *line = (char_u *)get_cursor_line_ptr(); char_u *p; int c; int lc = NUL; @@ -1493,7 +1493,7 @@ static int find_prev_quote(char_u *line, int col_start, int quotechar, char_u *e bool current_quote(oparg_T *oap, long count, bool include, int quotechar) FUNC_ATTR_NONNULL_ALL { - char_u *line = get_cursor_line_ptr(); + char_u *line = (char_u *)get_cursor_line_ptr(); int col_end; int col_start = curwin->w_cursor.col; bool inclusive = false; |