mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -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,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user