summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0628
blob: 7309bf3b2a0f5f5a89b9a46588b78721e10b1b5a (plain)
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
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0628
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0628
Problem:    Compiler warning on MS-Windows.
Solution:   Add type cast. (Mike Williams)
Files:	    src/if_py_both.h


*** ../vim-8.1.0627/src/if_py_both.h	2018-12-22 18:59:00.790537016 +0100
--- src/if_py_both.h	2018-12-23 13:32:46.185006565 +0100
***************
*** 2953,2959 ****
  	    char_u *np;
  	    size_t len = STRLEN(p) + 1;
  
! 	    if ((np = alloc(len + 2)) == NULL)
  	    {
  		vim_free(p);
  		return NULL;
--- 2953,2959 ----
  	    char_u *np;
  	    size_t len = STRLEN(p) + 1;
  
! 	    if ((np = alloc((int)len + 2)) == NULL)
  	    {
  		vim_free(p);
  		return NULL;
*** ../vim-8.1.0627/src/version.c	2018-12-22 18:59:00.790537016 +0100
--- src/version.c	2018-12-23 13:35:16.083829310 +0100
***************
*** 801,802 ****
--- 801,804 ----
  {   /* Add new patch number below this line */
+ /**/
+     628,
  /**/

-- 
Despite the cost of living, have you noticed how it remains so popular?

 /// 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    ///