Skip to content

Commit

Permalink
patch 8.1.0173: compiler warning on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    Compiler warning on MS-Windows.
Solution:   Add type cast. (Mike Williams)
  • Loading branch information
brammool committed Jul 9, 2018
1 parent c229e54 commit 6259e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/libvterm/src/state.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ static int on_text(const char bytes[], size_t len, void *user)
if(!npoints) if(!npoints)
{ {
vterm_allocator_free(state->vt, codepoints); vterm_allocator_free(state->vt, codepoints);
return eaten; return (int)eaten;
} }


if(state->gsingle_set && npoints) if(state->gsingle_set && npoints)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =


static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
173,
/**/ /**/
172, 172,
/**/ /**/
Expand Down

0 comments on commit 6259e57

Please sign in to comment.