From: Bram Moolenaar Date: Fri, 12 Jul 2019 11:59:20 +0000 (+0200) Subject: patch 8.1.1663: compiler warning for using size_t X-Git-Tag: v8.1.1663 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1072768b919efd1dd3fe28d58b24274cb92ad098;p=thirdparty%2Fvim.git patch 8.1.1663: compiler warning for using size_t Problem: Compiler warning for using size_t. Solution: Add type cast. (Mike Williams) --- 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 @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1663, /**/ 1662, /**/