diff options
author | Mike Williams <mikew@globalgraphics.com> | 2022-08-01 14:00:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-01 14:00:31 +0100 |
commit | ab146dac6b4148e770eb2bf61c72ef62d3ecfc65 (patch) | |
tree | 426786abb6dddef714bccab611be0a79f29704ef | |
parent | 3f79b61288bf528b9a848af9e4c849c35c1df0bf (diff) |
patch 9.0.0129: compiler warning for int/size_t usagev9.0.0129
Problem: Compiler warning for int/size_t usage.
Solution: Add a type cast. (Mike Williams, closes #10830)
-rw-r--r-- | src/quickfix.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index b9b908cc06..e9cbcb395f 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -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) diff --git a/src/version.c b/src/version.c index f079d3c7ec..f4c63f1f70 100644 --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 129, +/**/ 128, /**/ 127, |