Skip to content

Commit c7bd2f0

Browse files
committed
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)
1 parent 3a39379 commit c7bd2f0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/insexpand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ ins_compl_infercase_gettext(
643643
if (ga_grow(&gap, IOSIZE) == FAIL)
644644
return (char_u *)"[failed]";
645645
STRCPY(gap.ga_data, IObuff);
646-
gap.ga_len = STRLEN(IObuff);
646+
gap.ga_len = (int)STRLEN(IObuff);
647647
}
648648
else if (has_mbyte)
649649
p += (*mb_char2bytes)(wca[i++], p);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ static char *(features[]) =
735735

736736
static int included_patches[] =
737737
{ /* Add new patch number below this line */
738+
/**/
739+
54,
738740
/**/
739741
53,
740742
/**/

0 commit comments

Comments
 (0)