Blame SOURCES/7.4.316

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.316
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.316
22c937
Problem:    Warning from 64-bit compiler.
22c937
Solution:   Add type cast. (Mike Williams)
22c937
Files:	    src/ex_getln.c
22c937
22c937
22c937
*** ../vim-7.4.315/src/ex_getln.c	2014-05-07 18:35:25.665216052 +0200
22c937
--- src/ex_getln.c	2014-05-29 14:32:53.584860716 +0200
22c937
***************
22c937
*** 5202,5208 ****
22c937
  		    for (i = 0; i < num_p; ++i)
22c937
  		    {
22c937
  			((char_u **)ga->ga_data)[ga->ga_len] =
22c937
! 					    vim_strnsave(p[i], STRLEN(p[i]));
22c937
  			++ga->ga_len;
22c937
  		    }
22c937
  		}
22c937
--- 5202,5208 ----
22c937
  		    for (i = 0; i < num_p; ++i)
22c937
  		    {
22c937
  			((char_u **)ga->ga_data)[ga->ga_len] =
22c937
! 					vim_strnsave(p[i], (int)STRLEN(p[i]));
22c937
  			++ga->ga_len;
22c937
  		    }
22c937
  		}
22c937
*** ../vim-7.4.315/src/version.c	2014-05-29 11:47:19.808773758 +0200
22c937
--- src/version.c	2014-05-29 14:33:29.476861030 +0200
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     316,
22c937
  /**/
22c937
22c937
-- 
22c937
hundred-and-one symptoms of being an internet addict:
22c937
232. You start conversations with, "Have you gotten an ISDN line?"
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///