summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-04-03 21:35:42 +0200
committerBram Moolenaar <Bram@vim.org>2017-04-03 21:35:42 +0200
commit04000560ca81cc2608b291d0990e661b41ca8c68 (patch)
tree5922bf2cb1729a057e353471a3834fd613fd1fd1
parenta604429529ce3d3c97309c7cf6bba8b699f6bfb5 (diff)
patch 8.0.0541: compiler warning on MS-Windowsv8.0.0541
Problem: Compiler warning on MS-Windows. Solution: Add a type cast. (Mike Williams)
-rw-r--r--src/edit.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index fae48c6124..ad8b89a95b 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 5958550f19..eef36b4347 100644
--- 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,