Karsten Hopp b5e4d7
To: vim_dev@googlegroups.com
Karsten Hopp b5e4d7
Subject: Patch 7.3.211
Karsten Hopp b5e4d7
Fcc: outbox
Karsten Hopp b5e4d7
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b5e4d7
Mime-Version: 1.0
Karsten Hopp b5e4d7
Content-Type: text/plain; charset=UTF-8
Karsten Hopp b5e4d7
Content-Transfer-Encoding: 8bit
Karsten Hopp b5e4d7
------------
Karsten Hopp b5e4d7
Karsten Hopp b5e4d7
Patch 7.3.211 (after 7.3.210)
Karsten Hopp b5e4d7
Problem:    Compiler warning.
Karsten Hopp b5e4d7
Solution:   Add type cast.
Karsten Hopp b5e4d7
Files:      src/if_cscope.c
Karsten Hopp b5e4d7
Karsten Hopp b5e4d7
Karsten Hopp b5e4d7
*** ../mercurial/vim73/src/if_cscope.c	2011-06-12 20:42:17.000000000 +0200
Karsten Hopp b5e4d7
--- src/if_cscope.c	2011-06-12 21:22:53.000000000 +0200
Karsten Hopp b5e4d7
***************
Karsten Hopp b5e4d7
*** 2518,2524 ****
Karsten Hopp b5e4d7
  	/* Check for csdir to be non empty to avoid empty path concatenated to
Karsten Hopp b5e4d7
  	 * cscope output. TODO: avoid the unnecessary alloc/free of fullname. */
Karsten Hopp b5e4d7
  	vim_free(fullname);
Karsten Hopp b5e4d7
! 	fullname = concat_fnames(csdir, (char_u *)name, TRUE);
Karsten Hopp b5e4d7
      }
Karsten Hopp b5e4d7
      else
Karsten Hopp b5e4d7
  	(void)sprintf(fullname, "%s", name);
Karsten Hopp b5e4d7
--- 2518,2524 ----
Karsten Hopp b5e4d7
  	/* Check for csdir to be non empty to avoid empty path concatenated to
Karsten Hopp b5e4d7
  	 * cscope output. TODO: avoid the unnecessary alloc/free of fullname. */
Karsten Hopp b5e4d7
  	vim_free(fullname);
Karsten Hopp b5e4d7
! 	fullname = (char *)concat_fnames(csdir, (char_u *)name, TRUE);
Karsten Hopp b5e4d7
      }
Karsten Hopp b5e4d7
      else
Karsten Hopp b5e4d7
  	(void)sprintf(fullname, "%s", name);
Karsten Hopp b5e4d7
*** ../vim-7.3.210/src/version.c	2011-06-12 20:42:17.000000000 +0200
Karsten Hopp b5e4d7
--- src/version.c	2011-06-12 21:24:03.000000000 +0200
Karsten Hopp b5e4d7
***************
Karsten Hopp b5e4d7
*** 711,712 ****
Karsten Hopp b5e4d7
--- 711,714 ----
Karsten Hopp b5e4d7
  {   /* Add new patch number below this line */
Karsten Hopp b5e4d7
+ /**/
Karsten Hopp b5e4d7
+     211,
Karsten Hopp b5e4d7
  /**/
Karsten Hopp b5e4d7
Karsten Hopp b5e4d7
-- 
Karsten Hopp b5e4d7
Did you ever see a "Hit any key to continue" message in a music piece?
Karsten Hopp b5e4d7
Karsten Hopp b5e4d7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b5e4d7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b5e4d7
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp b5e4d7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///