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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220715194708.139131C08FD%40moolenaar.net.

Raspunde prin e-mail lui