refactor: replace char_u with char 4 (#19987)

* refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
dundargoc
2022-08-30 14:52:09 +02:00
committed by GitHub
parent 9397e70b9e
commit 2828aae7b4
66 changed files with 499 additions and 509 deletions

View File

@@ -501,7 +501,7 @@ static int nlua_iconv(lua_State *lstate)
vimconv.vc_type = CONV_NONE;
convert_setup_ext(&vimconv, from, false, to, false);
char_u *ret = string_convert(&vimconv, (char_u *)str, &str_len);
char_u *ret = (char_u *)string_convert(&vimconv, (char *)str, &str_len);
convert_setup(&vimconv, NULL, NULL);