commit | ab146dac6b4148e770eb2bf61c72ef62d3ecfc65 | [log] [tgz] |
---|---|---|
author | Mike Williams <mikew@globalgraphics.com> | Mon Aug 01 14:00:31 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 01 14:00:31 2022 +0100 |
tree | 426786abb6dddef714bccab611be0a79f29704ef | |
parent | 3f79b61288bf528b9a848af9e4c849c35c1df0bf [diff] [blame] |
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)
diff --git a/src/quickfix.c b/src/quickfix.c index b9b908c..e9cbcb3 100644 --- a/src/quickfix.c +++ b/src/quickfix.c
@@ -3641,7 +3641,7 @@ // 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)