Patch 8.2.1694
Problem: Compiler warning for loss if data.
Solution: Add typecast.
Files: src/ops.c
*** ../vim-8.2.1693/src/ops.c 2020-09-15 21:34:14.998383526 +0200
--- src/ops.c 2020-09-16 15:44:49.241373551 +0200
***************
*** 2840,2846 ****
// Delete the one character before the insert.
curwin->w_cursor = save_pos;
(void)del_char(FALSE);
! curwin->w_cursor.col = STRLEN(ml_get_curline()) - bytes_after;
--todel;
}
while (todel-- > 0)
--- 2840,2847 ----
// Delete the one character before the insert.
curwin->w_cursor = save_pos;
(void)del_char(FALSE);
! curwin->w_cursor.col = (colnr_T)(STRLEN(ml_get_curline())
! - bytes_after);
--todel;
}
while (todel-- > 0)
*** ../vim-8.2.1693/src/version.c 2020-09-16 15:43:18.521746573 +0200
--- src/version.c 2020-09-16 15:45:51.725116155 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1694,
/**/
--
The MS-Windows registry is no more hostile than any other bunch of state
information... that is held in a binary format... a format that nobody
understands... and is replicated and cached in a complex and largely
undocumented way... and contains large amounts of duplicate and obfuscated
information... (Ben Peterson)
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///