Mercurial > vim
changeset 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 | 8fa14ee1ea65 |
children | 436e1b56a676 |
files | src/misc1.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
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. */