Skip to content

Commit dec0120

Browse files
committed
patch 8.1.0838: compiler warning for type conversion
Problem: Compiler warning for type conversion. Solution: Add a type cast. (Mike Williams)
1 parent 26d9821 commit dec0120

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fd_write(sock_T fd, char *buf, size_t len)
9090
if (todo > MAX_NAMED_PIPE_SIZE)
9191
size = MAX_NAMED_PIPE_SIZE;
9292
else
93-
size = todo;
93+
size = (DWORD)todo;
9494
// If the pipe overflows while the job does not read the data, WriteFile
9595
// will block forever. This abandons the write.
9696
memset(&ov, 0, sizeof(ov));

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ static char *(features[]) =
783783

784784
static int included_patches[] =
785785
{ /* Add new patch number below this line */
786+
/**/
787+
838,
786788
/**/
787789
837,
788790
/**/

0 commit comments

Comments
 (0)