# HG changeset patch # User Christian Brabandt # Date 1531161906 -7200 # Node ID 17ade2ec061657a1a07defe4bee79dbb17323f2a # Parent 2a5dde9e66a7146349fd948a9685bcd53a483e37 patch 8.1.0173: compiler warning on MS-Windows commit https://github.com/vim/vim/commit/6259e5769dd50d8a3b5b99f553bab34ff5c8a6ce Author: Bram Moolenaar Date: Mon Jul 9 20:39:17 2018 +0200 patch 8.1.0173: compiler warning on MS-Windows Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Mike Williams) diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c --- a/src/libvterm/src/state.c +++ b/src/libvterm/src/state.c @@ -268,7 +268,7 @@ static int on_text(const char bytes[], s 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 --- 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,