summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-08 16:34:22 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-08 16:34:22 +0200
commit672afb9f66c64e031a2b609bdee0cb873883c9ec (patch)
treee5992bda2936fa3f3fb5c85fc4a9b2d8ea86c24c
parente333e79f9bdff82432e0fd7fcf7ae30ef8e3d092 (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.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ops.c b/src/ops.c
index 8b895d8637..b1c1d36935 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -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,