forked from aniani/vim
patch 8.2.1694: compiler warning for loss if data
Problem: Compiler warning for loss if data. Solution: Add typecast.
This commit is contained in:
@@ -2840,7 +2840,8 @@ do_addsub(
|
|||||||
// Delete the one character before the insert.
|
// Delete the one character before the insert.
|
||||||
curwin->w_cursor = save_pos;
|
curwin->w_cursor = save_pos;
|
||||||
(void)del_char(FALSE);
|
(void)del_char(FALSE);
|
||||||
curwin->w_cursor.col = STRLEN(ml_get_curline()) - bytes_after;
|
curwin->w_cursor.col = (colnr_T)(STRLEN(ml_get_curline())
|
||||||
|
- bytes_after);
|
||||||
--todel;
|
--todel;
|
||||||
}
|
}
|
||||||
while (todel-- > 0)
|
while (todel-- > 0)
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1694,
|
||||||
/**/
|
/**/
|
||||||
1693,
|
1693,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user