1
0
forked from aniani/vim

updated for version 7.4.271

Problem:    Compiler warning on 64 bit windows.
Solution:   Add type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2014-04-29 15:55:43 +02:00
parent 1ff32c5c2c
commit 121f9bdde4
2 changed files with 3 additions and 1 deletions

View File

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