From 672afb9f66c64e031a2b609bdee0cb873883c9ec Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 8 Apr 2018 16:34:22 +0200 Subject: [PATCH] patch 8.0.1679: compiler warning for printf format Problem: Compiler warning for printf format. (Chdiza) Solution: Change type to "long long". (closes #2791) --- src/ops.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ops.c b/src/ops.c index 8b895d863..b1c1d3693 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 c7e47f51b..a044f09bc 100644 --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1679, /**/ 1678, /**/