mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
refactor: replace char_u with char 22 (#21786)
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -61,7 +61,7 @@ int nlua_spell_check(lua_State *lstate)
|
||||
|
||||
while (*str != NUL) {
|
||||
attr = HLF_COUNT;
|
||||
len = spell_check(curwin, (char_u *)str, &attr, &capcol, false);
|
||||
len = spell_check(curwin, (char *)str, &attr, &capcol, false);
|
||||
assert(len <= INT_MAX);
|
||||
|
||||
if (attr != HLF_COUNT) {
|
||||
|
Reference in New Issue
Block a user