1
0
forked from aniani/vim

patch 7.4.2125

Problem:    Compiler warning for loss of data.
Solution:   Add a type cast. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2016-07-30 16:40:39 +02:00
parent 623cf88f9c
commit a5c0cc1133
2 changed files with 3 additions and 1 deletions

View File

@@ -304,7 +304,7 @@ trunc_string(
if (len + n > room || half == 0)
break;
len += n;
i = half;
i = (int)half;
}
}
else

View File

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