1
0
forked from aniani/vim

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:
Bram Moolenaar
2019-07-12 13:59:20 +02:00
parent e28cfb2812
commit 1072768b91
2 changed files with 3 additions and 1 deletions

View File

@@ -199,7 +199,7 @@ set_mousemoved_columns(win_T *wp, int flags)
getvcol(textwp, &pos, &mcol, NULL, NULL);
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);
wp->w_popup_mouse_maxcol = mcol;
vim_free(text);

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1663,
/**/
1662,
/**/