summaryrefslogtreecommitdiffstats
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-15 20:19:40 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-15 20:19:40 +0100
commitb5443cc46dd1485d6c785dd8c65a2c07bd5a17f3 (patch)
tree0d666a666cf4f5bea6b3afdf8a60059e5991ab8c /src/quickfix.c
parent8e481e8dfe0b82930faf005c7e840c49cbcf4511 (diff)
patch 8.1.0753: printf format not checked for semsg()v8.1.0753
Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index c533a28d34..4e1e8e0614 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -6263,7 +6263,7 @@ qf_add_entry_from_dict(
if (!did_bufnr_emsg)
{
did_bufnr_emsg = TRUE;
- semsg(_("E92: Buffer %ld not found"), bufnum);
+ semsg(_("E92: Buffer %d not found"), bufnum);
}
valid = FALSE;
bufnum = 0;