forked from aniani/vim
patch 9.0.0054: compiler warning for size_t to int conversion
Problem: Compiler warning for size_t to int conversion. Solution: Add type cast. (Mike Williams, closes #10741)
This commit is contained in:
@@ -643,7 +643,7 @@ ins_compl_infercase_gettext(
|
|||||||
if (ga_grow(&gap, IOSIZE) == FAIL)
|
if (ga_grow(&gap, IOSIZE) == FAIL)
|
||||||
return (char_u *)"[failed]";
|
return (char_u *)"[failed]";
|
||||||
STRCPY(gap.ga_data, IObuff);
|
STRCPY(gap.ga_data, IObuff);
|
||||||
gap.ga_len = STRLEN(IObuff);
|
gap.ga_len = (int)STRLEN(IObuff);
|
||||||
}
|
}
|
||||||
else if (has_mbyte)
|
else if (has_mbyte)
|
||||||
p += (*mb_char2bytes)(wca[i++], p);
|
p += (*mb_char2bytes)(wca[i++], p);
|
||||||
|
|||||||
@@ -735,6 +735,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 */
|
||||||
|
/**/
|
||||||
|
54,
|
||||||
/**/
|
/**/
|
||||||
53,
|
53,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user