summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.316
blob: 89b3b501162485b0c82558dac22e5d6a8dab12c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
To: vim_dev@googlegroups.com
Subject: Patch 7.4.316
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.316
Problem:    Warning from 64-bit compiler.
Solution:   Add type cast. (Mike Williams)
Files:	    src/ex_getln.c


*** ../vim-7.4.315/src/ex_getln.c	2014-05-07 18:35:25.665216052 +0200
--- src/ex_getln.c	2014-05-29 14:32:53.584860716 +0200
***************
*** 5202,5208 ****
  		    for (i = 0; i < num_p; ++i)
  		    {
  			((char_u **)ga->ga_data)[ga->ga_len] =
! 					    vim_strnsave(p[i], STRLEN(p[i]));
  			++ga->ga_len;
  		    }
  		}
--- 5202,5208 ----
  		    for (i = 0; i < num_p; ++i)
  		    {
  			((char_u **)ga->ga_data)[ga->ga_len] =
! 					vim_strnsave(p[i], (int)STRLEN(p[i]));
  			++ga->ga_len;
  		    }
  		}
*** ../vim-7.4.315/src/version.c	2014-05-29 11:47:19.808773758 +0200
--- src/version.c	2014-05-29 14:33:29.476861030 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     316,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
232. You start conversations with, "Have you gotten an ISDN line?"

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///