0
0
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:
Bram Moolenaar 2013-01-30 21:56:21 +01:00
parent e337e5f634
commit 04e5b5a228
2 changed files with 4 additions and 2 deletions

View File

@ -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);
}

View File

@ -725,6 +725,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
797,
/**/
796,
/**/