Permalink
Browse files

patch 8.0.0541: compiler warning on MS-Windows

Problem:    Compiler warning on MS-Windows.
Solution:   Add a type cast. (Mike Williams)
  • Loading branch information...
brammool committed Apr 3, 2017
1 parent a604429 commit 04000560ca81cc2608b291d0990e661b41ca8c68
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/edit.c
  2. +2 −0 src/version.c
View
@@ -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:
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
541,
/**/
540,
/**/

0 comments on commit 0400056

Please sign in to comment.