Patch 8.1.2232
Problem: MS-Windows: compiler warning for int size.
Solution: Add type cast. (Mike Williams)
Files: src/normal.c
*** ../vim-8.1.2231/src/normal.c 2019-10-28 02:12:32.811459384 +0100
--- src/normal.c 2019-10-29 00:42:40.815263226 +0100
***************
*** 5986,5992 ****
oap->motion_type = MCHAR;
oap->inclusive = FALSE;
if (has_mbyte)
! i = mb_string2cells(ptr, STRLEN(ptr));
else
i = (int)STRLEN(ptr);
if (cap->count0 > 0 && cap->count0 <= 100)
--- 5986,5992 ----
oap->motion_type = MCHAR;
oap->inclusive = FALSE;
if (has_mbyte)
! i = mb_string2cells(ptr, (int)STRLEN(ptr));
else
i = (int)STRLEN(ptr);
if (cap->count0 > 0 && cap->count0 <= 100)
*** ../vim-8.1.2231/src/version.c 2019-10-28 02:12:32.811459384 +0100
--- src/version.c 2019-10-29 00:44:28.898778444 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 2232,
/**/
--
An operatingsystem is just a name you give to the rest of bloating
idiosyncratic machine-based-features you left out of your editor.
(author unknown)
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///