# HG changeset patch # User Bram Moolenaar # Date 1562932806 -7200 # Node ID 12c1f01b304e730c72840aac228d99fee880c345 # Parent 4afa794015d711ff70f51f7120137265e49818c0 patch 8.1.1663: compiler warning for using size_t commit https://github.com/vim/vim/commit/1072768b919efd1dd3fe28d58b24274cb92ad098 Author: Bram Moolenaar Date: Fri Jul 12 13:59:20 2019 +0200 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 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -199,7 +199,7 @@ set_mousemoved_columns(win_T *wp, int fl 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 --- 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,