summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-12 13:59:20 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-12 13:59:20 +0200
commit1072768b919efd1dd3fe28d58b24274cb92ad098 (patch)
tree340b9cc5afb0ec1bf00157552b6cb5685698df0a
parente28cfb28126c07abd9e9ba04e36b3789433201b6 (diff)
patch 8.1.1663: compiler warning for using size_tv8.1.1663
Problem: Compiler warning for using size_t. Solution: Add type cast. (Mike Williams)
-rw-r--r--src/popupwin.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/popupwin.c b/src/popupwin.c
index f2b31300f0..484f774067 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -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);
diff --git a/src/version.c b/src/version.c
index ae44f513e7..7b779790de 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1663,
+/**/
1662,
/**/
1661,