0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.0541: compiler warning on MS-Windows

Problem:    Compiler warning on MS-Windows.
Solution:   Add a type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2017-04-03 21:35:42 +02:00
parent a604429529
commit 04000560ca
2 changed files with 3 additions and 1 deletions

View File

@@ -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: