mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
quickfix.c: enable -Wconversion
This commit is contained in:
@@ -1377,9 +1377,9 @@ char_u *make_filter_cmd(char_u *cmd, char_u *itmp, char_u *otmp)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (otmp != NULL)
|
||||
append_redir(buf, (int)len, p_srr, otmp);
|
||||
|
||||
if (otmp != NULL) {
|
||||
append_redir(buf, len, p_srr, otmp);
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
||||
@@ -1390,7 +1390,7 @@ char_u *make_filter_cmd(char_u *cmd, char_u *itmp, char_u *otmp)
|
||||
* The caller should make sure that there is enough room:
|
||||
* STRLEN(opt) + STRLEN(fname) + 3
|
||||
*/
|
||||
void append_redir(char_u *buf, int buflen, char_u *opt, char_u *fname)
|
||||
void append_redir(char_u *buf, size_t buflen, char_u *opt, char_u *fname)
|
||||
{
|
||||
char_u *p;
|
||||
char_u *end;
|
||||
|
Reference in New Issue
Block a user