# HG changeset patch # User Christian Brabandt # Date 1523198707 -7200 # Node ID 87e5629fc915294e2b95e12a284fa8804525288c # Parent 90511e74baf59c3533bc2e21744f214da71ca990 patch 8.0.1679: compiler warning for printf format commit https://github.com/vim/vim/commit/672afb9f66c64e031a2b609bdee0cb873883c9ec Author: Bram Moolenaar Date: Sun Apr 8 16:34:22 2018 +0200 patch 8.0.1679: compiler warning for printf format Problem: Compiler warning for printf format. (Chdiza) Solution: Change type to "long long". (closes https://github.com/vim/vim/issues/2791) diff --git a/src/ops.c b/src/ops.c --- 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 --- 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,