diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-15 20:19:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-15 20:19:40 +0100 |
commit | b5443cc46dd1485d6c785dd8c65a2c07bd5a17f3 (patch) | |
tree | 0d666a666cf4f5bea6b3afdf8a60059e5991ab8c /src/if_cscope.c | |
parent | 8e481e8dfe0b82930faf005c7e840c49cbcf4511 (diff) | |
download | vim-git-b5443cc46dd1485d6c785dd8c65a2c07bd5a17f3.tar.gz |
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/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index e1408b2f3..4904424d1 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -651,7 +651,7 @@ cs_cnt_connections(void) cs_reading_emsg( int idx) /* connection index */ { - semsg(_("E262: error reading cscope connection %ld"), idx); + semsg(_("E262: error reading cscope connection %d"), idx); } #define CSREAD_BUFSIZE 2048 |