# HG changeset patch # User Bram Moolenaar # Date 1574109903 -3600 # Node ID 5f9faf363b19f44befb55cae8c20ae5f7883dd93 # Parent 6c3ba0c377bfb53cea0438a544b6efc6c5e4611c patch 8.1.2319: compiler warning for int size Commit: https://github.com/vim/vim/commit/07a63d86338476bafbd1a3ec462672df92666498 Author: Bram Moolenaar Date: Mon Nov 18 21:38:37 2019 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2319, +/**/ 2318, /**/ 2317,