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 -- [email protected] -- 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 ///
--
--
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/201910282350.x9SNoTeu023445%40masaka.moolenaar.net.