mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0838: compiler warning for type conversion
Problem: Compiler warning for type conversion. Solution: Add a type cast. (Mike Williams)
This commit is contained in:
parent
26d982185e
commit
dec01206b2
@ -90,7 +90,7 @@ fd_write(sock_T fd, char *buf, size_t len)
|
||||
if (todo > MAX_NAMED_PIPE_SIZE)
|
||||
size = MAX_NAMED_PIPE_SIZE;
|
||||
else
|
||||
size = todo;
|
||||
size = (DWORD)todo;
|
||||
// If the pipe overflows while the job does not read the data, WriteFile
|
||||
// will block forever. This abandons the write.
|
||||
memset(&ov, 0, sizeof(ov));
|
||||
|
@ -783,6 +783,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
838,
|
||||
/**/
|
||||
837,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user