# HG changeset patch # User Bram Moolenaar # Date 1548702906 -3600 # Node ID b6f11ff3b6d18e5a9b904b48a0404573aaadaa81 # Parent 8dcb275f209bccc8fac9cee12cdb4e29410c2614 patch 8.1.0838: compiler warning for type conversion commit https://github.com/vim/vim/commit/dec01206b224fd0fba66e4da20a602e941d74d04 Author: Bram Moolenaar Date: Mon Jan 28 20:04:24 2019 +0100 patch 8.1.0838: compiler warning for type conversion Problem: Compiler warning for type conversion. Solution: Add a type cast. (Mike Williams) diff --git a/src/channel.c b/src/channel.c --- a/src/channel.c +++ b/src/channel.c @@ -90,7 +90,7 @@ fd_write(sock_T fd, char *buf, size_t le 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)); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -784,6 +784,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 838, +/**/ 837, /**/ 836,