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)
|
if (len + n > room || half == 0)
|
||||||
break;
|
break;
|
||||||
len += n;
|
len += n;
|
||||||
i = half;
|
i = (int)half;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@@ -763,6 +763,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 */
|
||||||
|
/**/
|
||||||
|
2125,
|
||||||
/**/
|
/**/
|
||||||
2124,
|
2124,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user