commit | b5443cc46dd1485d6c785dd8c65a2c07bd5a17f3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 15 20:19:40 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 15 20:19:40 2019 +0100 |
tree | 0d666a666cf4f5bea6b3afdf8a60059e5991ab8c | |
parent | 8e481e8dfe0b82930faf005c7e840c49cbcf4511 [diff] [blame] |
patch 8.1.0753: printf format not checked for semsg() Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
diff --git a/src/diff.c b/src/diff.c index 3acedc7..ed63f51 100644 --- a/src/diff.c +++ b/src/diff.c
@@ -173,7 +173,7 @@ return; } - semsg(_("E96: Cannot diff more than %ld buffers"), DB_COUNT); + semsg(_("E96: Cannot diff more than %d buffers"), DB_COUNT); } /*