aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-29 12:50:22 +0200
committerGitHub <noreply@github.com>2022-08-29 12:50:22 +0200
commit5fe6bde296569e275a0b83d497a54611f73c410a (patch)
tree51931728be1890c53597595aeec0826b12b74202 /src/nvim/charset.c
parentf05cc672e3b617b4480d8e2d7efc7e00863efc3d (diff)
parent691f4715c0cf4bc11ea2280db8777e6dd174a8ac (diff)
downloadrneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.gz
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.bz2
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.zip
Merge pull request #19961 from dundargoc/refactor/char_u/2
refactor: replace char_u with char 2: electric chaaralo
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r--src/nvim/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index 3632c3d70b..e0f798121a 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -246,7 +246,7 @@ int buf_init_chartab(buf_T *buf, int global)
}
c = *p;
- p = skip_to_option_part(p);
+ p = (char_u *)skip_to_option_part((char *)p);
if ((c == ',') && (*p == NUL)) {
// Trailing comma is not allowed.