Patch 8.1.2319
Problem: Compiler warning for int size.
Solution: Add typecast. (Mike Williams)
Files: src/mouse.c
*** ../vim-8.1.2318/src/mouse.c 2019-11-18 21:56:29.592807368 +0100
--- src/mouse.c 2019-11-18 21:56:29.592807368 +0100
***************
*** 2884,2890 ****
col += win->w_skipcol;
// limit to text length plus one
p = ml_get_buf(win->w_buffer, lnum, FALSE);
! count = STRLEN(p);
if (col > count)
col = count;
}
--- 2884,2890 ----
col += win->w_skipcol;
// limit to text length plus one
p = ml_get_buf(win->w_buffer, lnum, FALSE);
! count = (int)STRLEN(p);
if (col > count)
col = count;
}
*** ../vim-8.1.2318/src/version.c 2019-11-18 21:56:29.600807237 +0100
--- src/version.c 2019-11-18 21:56:29.600807237 +0100
***************
*** 742,743 ****
--- 742,745 ----
{ /* Add new patch number below this line */
+ /**/
+ 2319,
/**/
--
Momento mori, ergo carpe diem
/// 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 ///