diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-07-09 20:39:17 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-07-09 20:39:17 +0200 |
commit | 6259e5769dd50d8a3b5b99f553bab34ff5c8a6ce (patch) | |
tree | 87d4c5b141bbe6929ca3d75e1a6971cae2a0a232 /src/libvterm | |
parent | c229e54a69468722ca2449e807e90445b7479659 (diff) | |
download | vim-git-6259e5769dd50d8a3b5b99f553bab34ff5c8a6ce.tar.gz |
patch 8.1.0173: compiler warning on MS-Windowsv8.1.0173
Problem: Compiler warning on MS-Windows.
Solution: Add type cast. (Mike Williams)
Diffstat (limited to 'src/libvterm')
-rw-r--r-- | src/libvterm/src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c index a70783161..d977ecac6 100644 --- a/src/libvterm/src/state.c +++ b/src/libvterm/src/state.c @@ -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) |