diff src/misc1.c @ 3608:683de9306096 v7.3.564

updated for version 7.3.564 Problem: Warning for pointer conversion. Solution: Add type cast.
author Bram Moolenaar <bram@vim.org>
date Wed, 20 Jun 2012 17:56:09 +0200
parents 74adc9f7e15b
children 7e3fedfc3d08
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -4537,7 +4537,8 @@ home_replace(buf, src, dst, dstlen, one)
 	char_u	*fbuf = NULL;
 
 	flen = (int)STRLEN(homedir_env);
-	(void)modify_fname(":p", &usedlen, &homedir_env, &fbuf, &flen);
+	(void)modify_fname((char_u *)":p", &usedlen,
+						  &homedir_env, &fbuf, &flen);
 	flen = (int)STRLEN(homedir_env);
 	if (flen > 0 && vim_ispathsep(homedir_env[flen - 1]))
 	    /* Remove the trailing / that is added to a directory. */