1
0
forked from aniani/vim

patch 8.1.0173: compiler warning on MS-Windows

Problem:    Compiler warning on MS-Windows.
Solution:   Add type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2018-07-09 20:39:17 +02:00
parent c229e54a69
commit 6259e5769d
2 changed files with 3 additions and 1 deletions

View 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)

View File

@@ -789,6 +789,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
173,
/**/
172,
/**/