mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user