diff --git a/src/ops.c b/src/ops.c index c0337352e8..0348353fc9 100644 --- a/src/ops.c +++ b/src/ops.c @@ -6559,7 +6559,7 @@ str_to_reg(y_ptr, yank_type, str, len, blocklen, str_list) { for (ss = (char_u **) str; *ss != NULL; ++ss, ++lnum) { - i = STRLEN(*ss); + i = (long)STRLEN(*ss); pp[lnum] = vim_strnsave(*ss, i); if (i > maxlen) maxlen = i; diff --git a/src/version.c b/src/version.c index b41ffc2973..929925793b 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 271, /**/ 270, /**/