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:
@@ -304,7 +304,7 @@ trunc_string(
|
||||
if (len + n > room || half == 0)
|
||||
break;
|
||||
len += n;
|
||||
i = half;
|
||||
i = (int)half;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2125,
|
||||
/**/
|
||||
2124,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user