# HG changeset patch # User Christian Brabandt # Date 1491248704 -7200 # Node ID be499043ca7004ba18fe36753e3cd949d848628a # Parent 6d6f42a572d0a2a7c6c1d43a2f83333a353c62db patch 8.0.0541: compiler warning on MS-Windows commit https://github.com/vim/vim/commit/04000560ca81cc2608b291d0990e661b41ca8c68 Author: Bram Moolenaar Date: Mon Apr 3 21:35:42 2017 +0200 patch 8.0.0541: compiler warning on MS-Windows Problem: Compiler warning on MS-Windows. Solution: Add a type cast. (Mike Williams) diff --git a/src/edit.c b/src/edit.c --- a/src/edit.c +++ b/src/edit.c @@ -9032,7 +9032,7 @@ ins_bs( (linenr_T)(curwin->w_cursor.lnum + 1)) == FAIL) return FALSE; --Insstart.lnum; - Insstart.col = STRLEN(ml_get(Insstart.lnum)); + Insstart.col = (colnr_T)STRLEN(ml_get(Insstart.lnum)); } /* * In replace mode: diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 541, +/**/ 540, /**/ 539,