0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.0387: compiler warnings

Problem:    compiler warnings
Solution:   Add type casts. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2017-02-28 21:26:17 +01:00
parent 5b3af14b34
commit b113c3a618
3 changed files with 6 additions and 3 deletions

View File

@@ -1966,7 +1966,7 @@ channel_parse_json(channel_T *channel, ch_part_T part)
* more (but still incomplete): set a deadline of 100 msec. */
ch_logn(channel,
"Incomplete message (%d bytes) - wait 100 msec for more",
buflen);
(int)buflen);
reader.js_used = 0;
chanpart->ch_wait_len = buflen;
#ifdef WIN32
@@ -3299,6 +3299,7 @@ channel_read_block(channel_T *channel, ch_part_T part, int timeout)
channel_read(channel, part, "channel_read_block");
}
/* We have a complete message now. */
if (mode == MODE_RAW)
{
msg = channel_get_all(channel, part);