From 1072768b919efd1dd3fe28d58b24274cb92ad098 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 12 Jul 2019 13:59:20 +0200 Subject: [PATCH] patch 8.1.1663: compiler warning for using size_t Problem: Compiler warning for using size_t. Solution: Add type cast. (Mike Williams) --- src/popupwin.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1663, /**/ 1662, /**/ -- 2.40.0