diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-20 17:56:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-20 17:56:09 +0200 |
commit | d12f811816989fe969401a8f3b7d286580653a23 (patch) | |
tree | e53b8b4686ad856b726e67d67aaaee94951fe917 /src/misc1.c | |
parent | 50a12b40783550fb8fd7a6283815b107863292ab (diff) | |
download | vim-git-d12f811816989fe969401a8f3b7d286580653a23.tar.gz |
updated for version 7.3.564v7.3.564
Problem: Warning for pointer conversion.
Solution: Add type cast.
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index 80e7fa693..a84b3c3d8 100644 --- 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. */ |