diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-12 14:44:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 14:44:28 +0200 |
commit | 54a165d9a644e822207f02bdd4cf1b810d2788e3 (patch) | |
tree | f09ca6baf124ceaeaef27c095fee1e30ecb772b0 /src/nvim/indent.c | |
parent | f79773a3b4b3ce5a3b37652a72b12089880f32a4 (diff) | |
parent | 094cdf2d691bc005dadb5a22bb83b85f3b6dff49 (diff) | |
download | rneovim-54a165d9a644e822207f02bdd4cf1b810d2788e3.tar.gz rneovim-54a165d9a644e822207f02bdd4cf1b810d2788e3.tar.bz2 rneovim-54a165d9a644e822207f02bdd4cf1b810d2788e3.zip |
Merge pull request #19592 from dundargoc/refactor/char_u-to-char
refactor: replace char_u with char
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index 271498d41a..684c00b7e7 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -769,10 +769,10 @@ static int lisp_match(char_u *p) { char_u buf[LSIZE]; int len; - char_u *word = *curbuf->b_p_lw != NUL ? curbuf->b_p_lw : p_lispwords; + char *word = (char *)(*curbuf->b_p_lw != NUL ? curbuf->b_p_lw : p_lispwords); while (*word != NUL) { - (void)copy_option_part((char **)&word, (char *)buf, LSIZE, ","); + (void)copy_option_part(&word, (char *)buf, LSIZE, ","); len = (int)STRLEN(buf); if ((STRNCMP(buf, p, len) == 0) && (p[len] == ' ')) { |