diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 23:11:25 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2022-09-10 11:17:40 +0200 |
commit | 684bc749efef0fa31395d349f4495d79ec5f3fd5 (patch) | |
tree | 2f20ecdf42e443e48ac981d204c316449aa87821 /src/nvim/indent.c | |
parent | 82d93429e78b661027c05f3fbc862aa0e0c6cd95 (diff) | |
download | rneovim-684bc749efef0fa31395d349f4495d79ec5f3fd5.tar.gz rneovim-684bc749efef0fa31395d349f4495d79ec5f3fd5.tar.bz2 rneovim-684bc749efef0fa31395d349f4495d79ec5f3fd5.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index af5bcd7d2a..0f7a5a8e44 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -721,7 +721,7 @@ int get_number_indent(linenr_T lnum) // start matching for the flp beyond any comment leader... if (vim_regexec(®match, ml_get(lnum) + lead_len, (colnr_T)0)) { pos.lnum = lnum; - pos.col = (colnr_T)(*regmatch.endp - (char_u *)ml_get(lnum)); + pos.col = (colnr_T)(*regmatch.endp - ml_get(lnum)); pos.coladd = 0; } vim_regfree(regmatch.regprog); |