refactor: replace char_u variables and functions with char

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
Dundar Goc
2022-05-05 13:36:14 +02:00
parent dbdd58e548
commit e31b32a293
65 changed files with 758 additions and 756 deletions

View File

@@ -6560,13 +6560,13 @@ char_u *file_name_in_line(char_u *line, int col, int options, long count, char_u
} else if (STRNCMP(p, line_transl, STRLEN(line_transl)) == 0) {
p += STRLEN(line_transl);
} else {
p = skipwhite(p);
p = (char_u *)skipwhite((char *)p);
}
if (*p != NUL) {
if (!isdigit(*p)) {
p++; // skip the separator
}
p = skipwhite(p);
p = (char_u *)skipwhite((char *)p);
if (isdigit(*p)) {
*file_lnum = getdigits_long(&p, false, 0);
}