# HG changeset patch # User Bram Moolenaar # Date 1657915206 -7200 # Node ID 722a50132db9890852b401d9ae3dbebef8597dbb # Parent 8cef2a0f34543451f98a876f3c2bad94d00bd183 patch 9.0.0054: compiler warning for size_t to int conversion Commit: https://github.com/vim/vim/commit/c7bd2f08e531f08723cdc677212a3633d11c9a97 Author: Bram Moolenaar Date: Fri Jul 15 20:45:20 2022 +0100 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 https://github.com/vim/vim/issues/10741) diff --git a/src/insexpand.c b/src/insexpand.c --- a/src/insexpand.c +++ b/src/insexpand.c @@ -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); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 54, +/**/ 53, /**/ 52,