0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.0129: compiler warning for int/size_t usage

Problem:    Compiler warning for int/size_t usage.
Solution:   Add a type cast. (Mike Williams, closes #10830)
This commit is contained in:
Mike Williams 2022-08-01 14:00:31 +01:00 committed by Bram Moolenaar
parent 3f79b61288
commit ab146dac6b
2 changed files with 3 additions and 1 deletions

View File

@ -3641,7 +3641,7 @@ qf_list_entry(qfline_T *qfp, int qf_idx, int cursel)
// with ^^^^.
qf_fmt_text((fname != NULL || qfp->qf_lnum != 0)
? skipwhite(qfp->qf_text) : qfp->qf_text,
tbuf, tbuflen);
tbuf, (int)tbuflen);
msg_prt_line(tbuf, FALSE);
if (tbuf != IObuff)

View File

@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
129,
/**/
128,
/**/