From: Bram Moolenaar Date: Thu, 7 May 2020 15:46:59 +0000 (+0200) Subject: patch 8.2.0709: MS-Windows: compiler warning for int vs size_t X-Git-Tag: v8.2.0709 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea554ca4faf4a0b96706ea24130c4f485b24b241;p=vim patch 8.2.0709: MS-Windows: compiler warning for int vs size_t Problem: MS-Windows: compiler warning for int vs size_t. Solution: Add type cast. (Mike Williams) --- 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; diff --git a/src/version.c b/src/version.c index 14504da4f..c7fc8ee32 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 709, /**/ 708, /**/