summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-09 20:39:17 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-09 20:39:17 +0200
commit6259e5769dd50d8a3b5b99f553bab34ff5c8a6ce (patch)
tree87d4c5b141bbe6929ca3d75e1a6971cae2a0a232
parentc229e54a69468722ca2449e807e90445b7479659 (diff)
downloadvim-git-8.1.0173.tar.gz
patch 8.1.0173: compiler warning on MS-Windowsv8.1.0173
Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Mike Williams)
-rw-r--r--src/libvterm/src/state.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c
index a70783161..d977ecac6 100644
--- a/src/libvterm/src/state.c
+++ b/src/libvterm/src/state.c
@@ -268,7 +268,7 @@ static int on_text(const char bytes[], size_t len, void *user)
if(!npoints)
{
vterm_allocator_free(state->vt, codepoints);
- return eaten;
+ return (int)eaten;
}
if(state->gsingle_set && npoints)
diff --git a/src/version.c b/src/version.c
index 40f3b46d0..de6f550dd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -790,6 +790,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 173,
+/**/
172,
/**/
171,