mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +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:
@@ -676,10 +676,10 @@ static int cin_first_id_amount(void)
|
||||
|
||||
line = get_cursor_line_ptr();
|
||||
p = (char_u *)skipwhite((char *)line);
|
||||
len = (int)(skiptowhite(p) - p);
|
||||
len = (int)((char_u *)skiptowhite((char *)p) - p);
|
||||
if (len == 6 && STRNCMP(p, "static", 6) == 0) {
|
||||
p = (char_u *)skipwhite((char *)p + 6);
|
||||
len = (int)(skiptowhite(p) - p);
|
||||
len = (int)((char_u *)skiptowhite((char *)p) - p);
|
||||
}
|
||||
if (len == 6 && STRNCMP(p, "struct", 6) == 0) {
|
||||
p = (char_u *)skipwhite((char *)p + 6);
|
||||
|
Reference in New Issue
Block a user