Skip to content

Commit 6259e57

Browse files
committed
patch 8.1.0173: compiler warning on MS-Windows
Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Mike Williams)
1 parent c229e54 commit 6259e57

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/libvterm/src/state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ static int on_text(const char bytes[], size_t len, void *user)
268268
if(!npoints)
269269
{
270270
vterm_allocator_free(state->vt, codepoints);
271-
return eaten;
271+
return (int)eaten;
272272
}
273273

274274
if(state->gsingle_set && npoints)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ static char *(features[]) =
789789

790790
static int included_patches[] =
791791
{ /* Add new patch number below this line */
792+
/**/
793+
173,
792794
/**/
793795
172,
794796
/**/

0 commit comments

Comments
 (0)