Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 672afb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops.c
Expand Up @@ -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)
{
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -762,6 +762,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1679,
/**/
1678,
/**/
Expand Down

0 comments on commit 672afb9

Please sign in to comment.