aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-26 23:07:56 +0200
committerGitHub <noreply@github.com>2022-08-26 23:07:56 +0200
commitb0e052a8b30ce84221c3f992e111713451633b36 (patch)
tree27caaef2e0b8351eb5637d1a969229663ec2c4a8 /src/nvim/charset.c
parent6a13b8fa5460da5aa22a1c366e5252c26ed5fe1e (diff)
parent395277036014189c03b8969fc0a5cd2bdc5c8631 (diff)
downloadrneovim-b0e052a8b30ce84221c3f992e111713451633b36.tar.gz
rneovim-b0e052a8b30ce84221c3f992e111713451633b36.tar.bz2
rneovim-b0e052a8b30ce84221c3f992e111713451633b36.zip
Merge pull request #19957 from dundargoc/refactor/char_u/1
refactor: replace char_u with char
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r--src/nvim/charset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index d48cadf356..dc62b85716 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -140,13 +140,13 @@ int buf_init_chartab(buf_T *buf, int global)
const char_u *p;
if (i == 0) {
// first round: 'isident'
- p = p_isi;
+ p = (char_u *)p_isi;
} else if (i == 1) {
// second round: 'isprint'
- p = p_isp;
+ p = (char_u *)p_isp;
} else if (i == 2) {
// third round: 'isfname'
- p = p_isf;
+ p = (char_u *)p_isf;
} else { // i == 3
// fourth round: 'iskeyword'
p = (char_u *)buf->b_p_isk;