Karsten Hopp ed059f
To: vim_dev@googlegroups.com
Karsten Hopp ed059f
Subject: Patch 7.3.564
Karsten Hopp ed059f
Fcc: outbox
Karsten Hopp ed059f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ed059f
Mime-Version: 1.0
Karsten Hopp ed059f
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ed059f
Content-Transfer-Encoding: 8bit
Karsten Hopp ed059f
------------
Karsten Hopp ed059f
Karsten Hopp ed059f
Patch 7.3.564 (after 7.3.559)
Karsten Hopp ed059f
Problem:    Warning for pointer conversion.
Karsten Hopp ed059f
Solution:   Add type cast.
Karsten Hopp ed059f
Files:	    src/misc1.c
Karsten Hopp ed059f
Karsten Hopp ed059f
Karsten Hopp ed059f
*** ../vim-7.3.563/src/misc1.c	2012-06-20 14:02:23.000000000 +0200
Karsten Hopp ed059f
--- src/misc1.c	2012-06-20 17:41:22.000000000 +0200
Karsten Hopp ed059f
***************
Karsten Hopp ed059f
*** 4537,4543 ****
Karsten Hopp ed059f
  	char_u	*fbuf = NULL;
Karsten Hopp ed059f
  
Karsten Hopp ed059f
  	flen = (int)STRLEN(homedir_env);
Karsten Hopp ed059f
! 	(void)modify_fname(":p", &usedlen, &homedir_env, &fbuf, &flen);
Karsten Hopp ed059f
  	flen = (int)STRLEN(homedir_env);
Karsten Hopp ed059f
  	if (flen > 0 && vim_ispathsep(homedir_env[flen - 1]))
Karsten Hopp ed059f
  	    /* Remove the trailing / that is added to a directory. */
Karsten Hopp ed059f
--- 4537,4544 ----
Karsten Hopp ed059f
  	char_u	*fbuf = NULL;
Karsten Hopp ed059f
  
Karsten Hopp ed059f
  	flen = (int)STRLEN(homedir_env);
Karsten Hopp ed059f
! 	(void)modify_fname((char_u *)":p", &usedlen,
Karsten Hopp ed059f
! 						  &homedir_env, &fbuf, &flen);
Karsten Hopp ed059f
  	flen = (int)STRLEN(homedir_env);
Karsten Hopp ed059f
  	if (flen > 0 && vim_ispathsep(homedir_env[flen - 1]))
Karsten Hopp ed059f
  	    /* Remove the trailing / that is added to a directory. */
Karsten Hopp ed059f
*** ../vim-7.3.563/src/version.c	2012-06-20 17:54:34.000000000 +0200
Karsten Hopp ed059f
--- src/version.c	2012-06-20 17:55:26.000000000 +0200
Karsten Hopp ed059f
***************
Karsten Hopp ed059f
*** 716,717 ****
Karsten Hopp ed059f
--- 716,719 ----
Karsten Hopp ed059f
  {   /* Add new patch number below this line */
Karsten Hopp ed059f
+ /**/
Karsten Hopp ed059f
+     564,
Karsten Hopp ed059f
  /**/
Karsten Hopp ed059f
Karsten Hopp ed059f
-- 
Karsten Hopp ed059f
hundred-and-one symptoms of being an internet addict:
Karsten Hopp ed059f
46. Your wife makes a new rule: "The computer cannot come to bed."
Karsten Hopp ed059f
Karsten Hopp ed059f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ed059f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ed059f
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ed059f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///