changeset 11311:be499043ca70 v8.0.0541

patch 8.0.0541: compiler warning on MS-Windows commit https://github.com/vim/vim/commit/04000560ca81cc2608b291d0990e661b41ca8c68 Author: Bram Moolenaar <Bram@vim.org> 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)
author Christian Brabandt <cb@256bit.org>
date Mon, 03 Apr 2017 21:45:04 +0200
parents 6d6f42a572d0
children 661647ecec53
files src/edit.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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:
--- 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,