diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-08 16:34:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-08 16:34:22 +0200 |
commit | 672afb9f66c64e031a2b609bdee0cb873883c9ec (patch) | |
tree | e5992bda2936fa3f3fb5c85fc4a9b2d8ea86c24c | |
parent | e333e79f9bdff82432e0fd7fcf7ae30ef8e3d092 (diff) |
patch 8.0.1679: compiler warning for printf formatv8.0.1679
Problem: Compiler warning for printf format. (Chdiza)
Solution: Change type to "long long". (closes #2791)
-rw-r--r-- | src/ops.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -7555,7 +7555,7 @@ cursor_pos_info(dict_T *dict) bom_count = bomb_size(); if (bom_count > 0) vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, - _("(+%ld for BOM)"), bom_count); + _("(+%lld for BOM)"), (long long)bom_count); #endif if (dict == NULL) { diff --git a/src/version.c b/src/version.c index c7e47f51b2..a044f09bc1 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1679, +/**/ 1678, /**/ 1677, |