From: Bram Moolenaar Date: Mon, 18 Nov 2019 20:38:37 +0000 (+0100) Subject: patch 8.1.2319: compiler warning for int size X-Git-Tag: v8.1.2319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07a63d86338476bafbd1a3ec462672df92666498;p=vim patch 8.1.2319: compiler warning for int size Problem: Compiler warning for int size. Solution: Add typecast. (Mike Williams) --- diff --git a/src/mouse.c b/src/mouse.c index 00a2783f2..f3ff26d2e 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -2884,7 +2884,7 @@ mouse_comp_pos( col += win->w_skipcol; // limit to text length plus one p = ml_get_buf(win->w_buffer, lnum, FALSE); - count = STRLEN(p); + count = (int)STRLEN(p); if (col > count) col = count; } diff --git a/src/version.c b/src/version.c index 1adf523b4..bbc74f3ca 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2319, /**/ 2318, /**/