diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-04 18:27:22 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-05 18:10:46 +0200 |
commit | 9a671e6a24243a5ff2879599d91ab5aec8b4e77d (patch) | |
tree | 703693c3591ed6b8881ed965f7f2ed2394a29ce6 /src/nvim/popupmnu.c | |
parent | 82c7a82c3585100e73e154c49e3e002b7dc35437 (diff) | |
download | rneovim-9a671e6a24243a5ff2879599d91ab5aec8b4e77d.tar.gz rneovim-9a671e6a24243a5ff2879599d91ab5aec8b4e77d.tar.bz2 rneovim-9a671e6a24243a5ff2879599d91ab5aec8b4e77d.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/popupmnu.c')
-rw-r--r-- | src/nvim/popupmnu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/popupmnu.c b/src/nvim/popupmnu.c index 15d0ae6c84..aff0ea94f7 100644 --- a/src/nvim/popupmnu.c +++ b/src/nvim/popupmnu.c @@ -750,11 +750,11 @@ static int pum_set_selected(int n, int repeat) for (p = pum_array[pum_selected].pum_info; *p != NUL;) { e = vim_strchr(p, '\n'); if (e == NULL) { - ml_append(lnum++, p, 0, false); + ml_append(lnum++, (char *)p, 0, false); break; } else { *e = NUL; - ml_append(lnum++, p, (int)(e - p + 1), false); + ml_append(lnum++, (char *)p, (int)(e - p + 1), false); *e = '\n'; p = e + 1; } |