From 04000560ca81cc2608b291d0990e661b41ca8c68 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 3 Apr 2017 21:35:42 +0200 Subject: patch 8.0.0541: compiler warning on MS-Windows Problem: Compiler warning on MS-Windows. Solution: Add a type cast. (Mike Williams) --- src/edit.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- cgit v1.2.1