# HG changeset patch # User Christian Brabandt # Date 1530910806 -7200 # Node ID bdab22732907c0e618c11598c3e3a3b8fd33824d # Parent 304b113a655f3b40e3d9b582cf735e3f78cd32f3 patch 8.1.0156: MS-Windows compiler warning commit https://github.com/vim/vim/commit/5d2f40792e47a48fc56efafd30b68660a42184a7 Author: Bram Moolenaar Date: Fri Jul 6 22:52:02 2018 +0200 patch 8.1.0156: MS-Windows compiler warning Problem: MS-Windows compiler warning. Solution: Add a type cast. (Mike Williams) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -61,7 +61,7 @@ init_longVersion(void) + strlen(VIM_VERSION_DATE_ONLY) + strlen(date_time); - longVersion = (char *)alloc(len); + longVersion = (char *)alloc((unsigned)len); if (longVersion == NULL) longVersion = VIM_VERSION_LONG; else @@ -790,6 +790,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 156, +/**/ 155, /**/ 154,