Patch 8.1.1663
Problem: Compiler warning for using size_t.
Solution: Add type cast. (Mike Williams)
Files: src/popupwin.c
*** ../vim-8.1.1662/src/popupwin.c 2019-07-10 21:55:50.766597954 +0200
--- src/popupwin.c 2019-07-12 13:56:51.619885411 +0200
***************
*** 199,205 ****
getvcol(textwp, &pos, &mcol, NULL, NULL);
wp->w_popup_mouse_mincol = mcol;
! pos.col = col + STRLEN(text) - 1;
getvcol(textwp, &pos, NULL, NULL, &mcol);
wp->w_popup_mouse_maxcol = mcol;
vim_free(text);
--- 199,205 ----
getvcol(textwp, &pos, &mcol, NULL, NULL);
wp->w_popup_mouse_mincol = mcol;
! pos.col = col + (colnr_T)STRLEN(text) - 1;
getvcol(textwp, &pos, NULL, NULL, &mcol);
wp->w_popup_mouse_maxcol = mcol;
vim_free(text);
*** ../vim-8.1.1662/src/version.c 2019-07-11 22:04:14.817346617 +0200
--- src/version.c 2019-07-12 13:57:41.363671782 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1663,
/**/
--
Advice to worms: Sleep late.
/// 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/201907121159.x6CBxZvZ019936%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.