Skip to content

Commit

Permalink
patch 9.0.0054: compiler warning for size_t to int conversion
Browse files Browse the repository at this point in the history
Problem:    Compiler warning for size_t to int conversion.
Solution:   Add type cast. (Mike Williams, closes #10741)
  • Loading branch information
brammool committed Jul 15, 2022
1 parent 3a39379 commit c7bd2f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/insexpand.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ ins_compl_infercase_gettext(
if (ga_grow(&gap, IOSIZE) == FAIL)
return (char_u *)"[failed]";
STRCPY(gap.ga_data, IObuff);
gap.ga_len = STRLEN(IObuff);
gap.ga_len = (int)STRLEN(IObuff);
}
else if (has_mbyte)
p += (*mb_char2bytes)(wca[i++], p);
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
54,
/**/
53,
/**/
Expand Down

0 comments on commit c7bd2f0

Please sign in to comment.