diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-12 13:59:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-12 13:59:20 +0200 |
commit | 1072768b919efd1dd3fe28d58b24274cb92ad098 (patch) | |
tree | 340b9cc5afb0ec1bf00157552b6cb5685698df0a | |
parent | e28cfb28126c07abd9e9ba04e36b3789433201b6 (diff) | |
download | vim-git-1072768b919efd1dd3fe28d58b24274cb92ad098.tar.gz |
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.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/popupwin.c b/src/popupwin.c index f2b31300f..484f77406 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 ae44f513e..7b779790d 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, |