From: Bram Moolenaar Date: Mon, 3 Apr 2017 19:35:42 +0000 (+0200) Subject: patch 8.0.0541: compiler warning on MS-Windows X-Git-Tag: v8.0.0541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04000560ca81cc2608b291d0990e661b41ca8c68;p=vim 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 index fae48c612..ad8b89a95 100644 --- 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 index 5958550f1..eef36b434 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 541, /**/ 540, /**/