Permalink
Browse files

patch 8.0.1679: compiler warning for printf format

Problem:    Compiler warning for printf format. (Chdiza)
Solution:   Change type to "long long". (closes #2791)
  • Loading branch information...
brammool committed Apr 8, 2018
1 parent e333e79 commit 672afb9f66c64e031a2b609bdee0cb873883c9ec
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/ops.c
  2. +2 −0 src/version.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)
{
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1679,
/**/
1678,
/**/

0 comments on commit 672afb9

Please sign in to comment.