0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

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)
This commit is contained in:
Bram Moolenaar
2020-05-07 17:46:59 +02:00
parent 61a8981699
commit ea554ca4fa
2 changed files with 3 additions and 1 deletions

View File

@@ -1037,7 +1037,7 @@ channel_open(
if (waittime == 0) if (waittime == 0)
waittime = 1; waittime = 1;
sd = channel_connect(channel, addr->ai_addr, addr->ai_addrlen, sd = channel_connect(channel, addr->ai_addr, (int)addr->ai_addrlen,
&waittime); &waittime);
if (sd >= 0) if (sd >= 0)
break; break;

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
709,
/**/ /**/
708, 708,
/**/ /**/