aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp_bt.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-10 14:33:43 +0200
committerGitHub <noreply@github.com>2022-09-10 14:33:43 +0200
commit4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9 (patch)
treeb62862e24e506e0010852d23b68c79103637500c /src/nvim/regexp_bt.c
parent40f9f479b746d0f76fbdd4bc0567d593ca7a6070 (diff)
parent684bc749efef0fa31395d349f4495d79ec5f3fd5 (diff)
downloadrneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.tar.gz
rneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.tar.bz2
rneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.zip
Merge pull request #20068 from dundargoc/refactor/char_u/10
refactor: replace char_u with char 10: remove `FNAMECMP`, `FNAMENCMP` and `STRLCAT`
Diffstat (limited to 'src/nvim/regexp_bt.c')
-rw-r--r--src/nvim/regexp_bt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/regexp_bt.c b/src/nvim/regexp_bt.c
index 63e4dd5b7e..59a6ed28af 100644
--- a/src/nvim/regexp_bt.c
+++ b/src/nvim/regexp_bt.c
@@ -5028,8 +5028,8 @@ static long bt_regexec_both(char_u *line, colnr_T col, proftime_T *tm, int *time
rex.reg_endpos = rex.reg_mmatch->endpos;
} else {
prog = (bt_regprog_T *)rex.reg_match->regprog;
- rex.reg_startp = rex.reg_match->startp;
- rex.reg_endp = rex.reg_match->endp;
+ rex.reg_startp = (char_u **)rex.reg_match->startp;
+ rex.reg_endp = (char_u **)rex.reg_match->endp;
}
// Be paranoid...