From 121f9bdde4a474ae729fd0b1e5fc9ad1ffcd8651 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 29 Apr 2014 15:55:43 +0200 Subject: updated for version 7.4.271 Problem: Compiler warning on 64 bit windows. Solution: Add type cast. (Mike Williams) --- src/ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ops.c') diff --git a/src/ops.c b/src/ops.c index c0337352e..0348353fc 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; -- cgit v1.2.1