diff options
author | Charles Joachim <cacplate@gmail.com> | 2016-02-28 00:50:12 -0500 |
---|---|---|
committer | Charles Joachim <cacplate@gmail.com> | 2016-03-10 14:24:37 -0500 |
commit | 662eea8287346dba3791d73c0280ddb302223a4d (patch) | |
tree | 021a2d09e205758f0821953308a11933a9b84f39 /src/nvim/ex_cmds.c | |
parent | bb020df0f52c3eec6cb84ce1a786fa3a90904815 (diff) | |
download | rneovim-662eea8287346dba3791d73c0280ddb302223a4d.tar.gz rneovim-662eea8287346dba3791d73c0280ddb302223a4d.tar.bz2 rneovim-662eea8287346dba3791d73c0280ddb302223a4d.zip |
quickfix.c: enable -Wconversion
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 96a7c8c5af..decb5e95bc 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -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; |