mirror of
https://github.com/neovim/neovim.git
synced 2026-05-22 21:00:08 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -499,7 +499,7 @@ static int nlua_iconv(lua_State *lstate)
|
||||
|
||||
vimconv_T vimconv;
|
||||
vimconv.vc_type = CONV_NONE;
|
||||
convert_setup_ext(&vimconv, from, false, to, false);
|
||||
convert_setup_ext(&vimconv, (char *)from, false, (char *)to, false);
|
||||
|
||||
char_u *ret = (char_u *)string_convert(&vimconv, (char *)str, &str_len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user