jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.316

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