# HG changeset patch # User Bram Moolenaar # Date 1545569107 -3600 # Node ID 9e6d1e80ca2b1cf1ba271fc6ba5a9f3541be6499 # Parent d7614198c4b746e874ebedda4dfed8ff1028b42a patch 8.1.0628: Compiler warning on MS-Windows. commit https://github.com/vim/vim/commit/80dae04d690d9aba26d443d4a19f3bd45ed0990b Author: Bram Moolenaar Date: Sun Dec 23 13:36:40 2018 +0100 patch 8.1.0628: Compiler warning on MS-Windows. Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Mike Williams) diff --git a/src/if_py_both.h b/src/if_py_both.h --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -2953,7 +2953,7 @@ FunctionNew(PyTypeObject *subtype, char_ char_u *np; size_t len = STRLEN(p) + 1; - if ((np = alloc(len + 2)) == NULL) + if ((np = alloc((int)len + 2)) == NULL) { vim_free(p); return NULL; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 628, +/**/ 627, /**/ 626,