summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-18 21:38:37 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-18 21:38:37 +0100
commit07a63d86338476bafbd1a3ec462672df92666498 (patch)
tree129c50b46f6c3945d7343589ad85d085d751950d
parent5f763348186007e91932f5134da8dbd0d3bffb11 (diff)
patch 8.1.2319: compiler warning for int sizev8.1.2319
Problem: Compiler warning for int size. Solution: Add typecast. (Mike Williams)
-rw-r--r--src/mouse.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mouse.c b/src/mouse.c
index 00a2783f26..f3ff26d2ea 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 1adf523b4b..bbc74f3ca7 100644
--- 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,