]> granicus.if.org Git - vim/commitdiff
patch 8.1.0173: compiler warning on MS-Windows v8.1.0173
authorBram Moolenaar <Bram@vim.org>
Mon, 9 Jul 2018 18:39:17 +0000 (20:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 9 Jul 2018 18:39:17 +0000 (20:39 +0200)
Problem:    Compiler warning on MS-Windows.
Solution:   Add type cast. (Mike Williams)

src/libvterm/src/state.c
src/version.c

index a7078316189f48d6834e9f28caf378d828afc509..d977ecac60f213b7bec1a12056792d6fa60a30a7 100644 (file)
@@ -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)
index 40f3b46d023956001d391976fd9c8390ff4c6b3e..de6f550dd6ed80fa953e364be4c4888993d7e6d7 100644 (file)
@@ -789,6 +789,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    173,
 /**/
     172,
 /**/