mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.3.797
Problem: Compiler warning for size_t to int conversion. (Skeept) Solution: Add type casts.
This commit is contained in:
parent
e337e5f634
commit
04e5b5a228
@ -4764,8 +4764,8 @@ do_sub(eap)
|
||||
* substitute may have inserted or
|
||||
* deleted characters before the
|
||||
* cursor. */
|
||||
len_change = STRLEN(new_line)
|
||||
- STRLEN(orig_line);
|
||||
len_change = (int)STRLEN(new_line)
|
||||
- (int)STRLEN(orig_line);
|
||||
curwin->w_cursor.col += len_change;
|
||||
ml_replace(lnum, new_line, FALSE);
|
||||
}
|
||||
|
@ -725,6 +725,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
797,
|
||||
/**/
|
||||
796,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user