mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
patch 8.1.1663: compiler warning for using size_t
Problem: Compiler warning for using size_t. Solution: Add type cast. (Mike Williams)
This commit is contained in:
@@ -199,7 +199,7 @@ set_mousemoved_columns(win_T *wp, int flags)
|
|||||||
getvcol(textwp, &pos, &mcol, NULL, NULL);
|
getvcol(textwp, &pos, &mcol, NULL, NULL);
|
||||||
wp->w_popup_mouse_mincol = mcol;
|
wp->w_popup_mouse_mincol = mcol;
|
||||||
|
|
||||||
pos.col = col + STRLEN(text) - 1;
|
pos.col = col + (colnr_T)STRLEN(text) - 1;
|
||||||
getvcol(textwp, &pos, NULL, NULL, &mcol);
|
getvcol(textwp, &pos, NULL, NULL, &mcol);
|
||||||
wp->w_popup_mouse_maxcol = mcol;
|
wp->w_popup_mouse_maxcol = mcol;
|
||||||
vim_free(text);
|
vim_free(text);
|
||||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1663,
|
||||||
/**/
|
/**/
|
||||||
1662,
|
1662,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user