mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08: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:
@@ -142,9 +142,7 @@ static inline void viml_preader_get_line(ParserInputReader *const preader,
|
||||
.allocated = true,
|
||||
.size = pline.size,
|
||||
};
|
||||
cpline.data = (char *)string_convert(&preader->conv,
|
||||
(char_u *)pline.data,
|
||||
&cpline.size);
|
||||
cpline.data = string_convert(&preader->conv, (char *)pline.data, &cpline.size);
|
||||
if (pline.allocated) {
|
||||
xfree((void *)pline.data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user