To: vim_dev@googlegroups.com Subject: Patch 9.0.0054 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0054 Problem: Compiler warning for size_t to int conversion. Solution: Add type cast. (Mike Williams, closes #10741) Files: src/insexpand.c *** ../vim-9.0.0053/src/insexpand.c 2022-07-07 19:59:45.466244217 +0100 --- src/insexpand.c 2022-07-15 20:43:12.310408519 +0100 *************** *** 643,649 **** if (ga_grow(&gap, IOSIZE) == FAIL) return (char_u *)"[failed]"; STRCPY(gap.ga_data, IObuff); ! gap.ga_len = STRLEN(IObuff); } else if (has_mbyte) p += (*mb_char2bytes)(wca[i++], p); --- 643,649 ---- if (ga_grow(&gap, IOSIZE) == FAIL) return (char_u *)"[failed]"; STRCPY(gap.ga_data, IObuff); ! gap.ga_len = (int)STRLEN(IObuff); } else if (has_mbyte) p += (*mb_char2bytes)(wca[i++], p); *** ../vim-9.0.0053/src/version.c 2022-07-14 17:40:43.006466830 +0100 --- src/version.c 2022-07-15 20:44:40.750229774 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 54, /**/ -- From "know your smileys": 8<}} Glasses, big nose, beard /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///