From: Bram Moolenaar Date: Sun, 8 Apr 2018 14:34:22 +0000 (+0200) Subject: patch 8.0.1679: compiler warning for printf format X-Git-Tag: v8.0.1679 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=672afb9f66c64e031a2b609bdee0cb873883c9ec;p=thirdparty%2Fvim.git patch 8.0.1679: compiler warning for printf format Problem: Compiler warning for printf format. (Chdiza) Solution: Change type to "long long". (closes #2791) --- 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 @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1679, /**/ 1678, /**/