0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.1679: compiler warning for printf format

Problem:    Compiler warning for printf format. (Chdiza)
Solution:   Change type to "long long". (closes #2791)
This commit is contained in:
Bram Moolenaar
2018-04-08 16:34:22 +02:00
parent e333e79f9b
commit 672afb9f66
2 changed files with 3 additions and 1 deletions

View File

@@ -7555,7 +7555,7 @@ cursor_pos_info(dict_T *dict)
bom_count = bomb_size(); bom_count = bomb_size();
if (bom_count > 0) if (bom_count > 0)
vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE,
_("(+%ld for BOM)"), bom_count); _("(+%lld for BOM)"), (long long)bom_count);
#endif #endif
if (dict == NULL) if (dict == NULL)
{ {

View File

@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1679,
/**/ /**/
1678, 1678,
/**/ /**/