diff options
author | Bram Moolenaar <bram@vim.org> | 2014-04-29 15:55:43 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2014-04-29 15:55:43 +0200 |
commit | cffba557fe044e4fc8071f4c04b61ca979ebde5b (patch) | |
tree | 933d682952ec83797b885efa2ad639c591cf1240 | |
parent | eb73d1f96ba2ebfbdbc69d84e2f8cfdadeb80054 (diff) | |
download | vim-7.4.271.tar.gz |
Problem: Compiler warning on 64 bit windows.
Solution: Add type cast. (Mike Williams)
-rw-r--r-- | src/ops.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 b41ffc29..92992579 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 271, +/**/ 270, /**/ 269, |