From 07a63d86338476bafbd1a3ec462672df92666498 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 18 Nov 2019 21:38:37 +0100 Subject: [PATCH] patch 8.1.2319: compiler warning for int size Problem: Compiler warning for int size. Solution: Add typecast. (Mike Williams) --- src/mouse.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- 2.50.1