mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +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:
@@ -2533,7 +2533,7 @@ dict_T *tv_dict_copy(const vimconv_T *const conv, dict_T *const orig, const bool
|
||||
new_di = tv_dict_item_alloc((const char *)di->di_key);
|
||||
} else {
|
||||
size_t len = STRLEN(di->di_key);
|
||||
char *const key = (char *)string_convert(conv, di->di_key, &len);
|
||||
char *const key = (char *)string_convert(conv, (char *)di->di_key, &len);
|
||||
if (key == NULL) {
|
||||
new_di = tv_dict_item_alloc_len((const char *)di->di_key, len);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user