diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-07 17:46:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-07 17:46:59 +0200 |
commit | ea554ca4faf4a0b96706ea24130c4f485b24b241 (patch) | |
tree | 8ad62efc0a2c19cdd81a33d19137158ba55db178 /src/channel.c | |
parent | 61a89816996a0cad0d711c91e6e7cea9a9101211 (diff) | |
download | vim-git-ea554ca4faf4a0b96706ea24130c4f485b24b241.tar.gz |
patch 8.2.0709: MS-Windows: compiler warning for int vs size_tv8.2.0709
Problem: MS-Windows: compiler warning for int vs size_t.
Solution: Add type cast. (Mike Williams)
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c index 2234ad5d5..0e432f9af 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1037,7 +1037,7 @@ channel_open( if (waittime == 0) waittime = 1; - sd = channel_connect(channel, addr->ai_addr, addr->ai_addrlen, + sd = channel_connect(channel, addr->ai_addr, (int)addr->ai_addrlen, &waittime); if (sd >= 0) break; |