# HG changeset patch # User Bram Moolenaar # Date 1359579381 -3600 # Node ID 0cbea05f19c73c01dbd0f04378a65ab7de6719e7 # Parent 42a0c8b2dc7a11268450f1a11f8860451f82e3a2 updated for version 7.3.797 Problem: Compiler warning for size_t to int conversion. (Skeept) Solution: Add type casts. diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -726,6 +726,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 797, +/**/ 796, /**/ 795,