Skip to content

Commit 0400056

Browse files
committed
patch 8.0.0541: compiler warning on MS-Windows
Problem: Compiler warning on MS-Windows. Solution: Add a type cast. (Mike Williams)
1 parent a604429 commit 0400056

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/edit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9032,7 +9032,7 @@ ins_bs(
90329032
(linenr_T)(curwin->w_cursor.lnum + 1)) == FAIL)
90339033
return FALSE;
90349034
--Insstart.lnum;
9035-
Insstart.col = STRLEN(ml_get(Insstart.lnum));
9035+
Insstart.col = (colnr_T)STRLEN(ml_get(Insstart.lnum));
90369036
}
90379037
/*
90389038
* In replace mode:

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
541,
767769
/**/
768770
540,
769771
/**/

0 commit comments

Comments
 (0)