summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.211
blob: 4760c106cc93e51d1126aaaed8528543c1a9a231 (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
To: vim_dev@googlegroups.com
Subject: Patch 7.3.211
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.3.211 (after 7.3.210)
Problem:    Compiler warning.
Solution:   Add type cast.
Files:      src/if_cscope.c


*** ../mercurial/vim73/src/if_cscope.c	2011-06-12 20:42:17.000000000 +0200
--- src/if_cscope.c	2011-06-12 21:22:53.000000000 +0200
***************
*** 2518,2524 ****
  	/* Check for csdir to be non empty to avoid empty path concatenated to
  	 * cscope output. TODO: avoid the unnecessary alloc/free of fullname. */
  	vim_free(fullname);
! 	fullname = concat_fnames(csdir, (char_u *)name, TRUE);
      }
      else
  	(void)sprintf(fullname, "%s", name);
--- 2518,2524 ----
  	/* Check for csdir to be non empty to avoid empty path concatenated to
  	 * cscope output. TODO: avoid the unnecessary alloc/free of fullname. */
  	vim_free(fullname);
! 	fullname = (char *)concat_fnames(csdir, (char_u *)name, TRUE);
      }
      else
  	(void)sprintf(fullname, "%s", name);
*** ../vim-7.3.210/src/version.c	2011-06-12 20:42:17.000000000 +0200
--- src/version.c	2011-06-12 21:24:03.000000000 +0200
***************
*** 711,712 ****
--- 711,714 ----
  {   /* Add new patch number below this line */
+ /**/
+     211,
  /**/

-- 
Did you ever see a "Hit any key to continue" message in a music piece?

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