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