diff options
author | dundargoc <gocdundar@gmail.com> | 2022-11-26 18:57:46 +0100 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-01-09 17:03:40 +0800 |
commit | 08c2c7480619ccdf0c92fe6ce76da5b73b0e395b (patch) | |
tree | 2759bc2cb18bd7edc20fd17e7e0aeb8631bd957c /src/nvim/regexp_bt.c | |
parent | 53adccb6e0292f7ba5524121c0200a73aec977a6 (diff) | |
download | rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.tar.gz rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.tar.bz2 rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/regexp_bt.c')
-rw-r--r-- | src/nvim/regexp_bt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/regexp_bt.c b/src/nvim/regexp_bt.c index 4e2fa54c26..810b35a77d 100644 --- a/src/nvim/regexp_bt.c +++ b/src/nvim/regexp_bt.c @@ -3716,7 +3716,7 @@ static bool regmatch(char_u *scan, proftime_T *tm, int *timed_out) } else { // Get class of current and previous char (if it exists). const int this_class = - mb_get_class_tab(rex.input, rex.reg_buf->b_chartab); + mb_get_class_tab((char *)rex.input, rex.reg_buf->b_chartab); if (this_class <= 1) { status = RA_NOMATCH; // Not on a word at all. } else if (reg_prev_class() == this_class) { @@ -3732,7 +3732,7 @@ static bool regmatch(char_u *scan, proftime_T *tm, int *timed_out) int this_class, prev_class; // Get class of current and previous char (if it exists). - this_class = mb_get_class_tab(rex.input, rex.reg_buf->b_chartab); + this_class = mb_get_class_tab((char *)rex.input, rex.reg_buf->b_chartab); prev_class = reg_prev_class(); if (this_class == prev_class || prev_class == 0 || prev_class == 1) { |