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 -- [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/201911182058.xAIKwaAr017551%40masaka.moolenaar.net.