Mercurial > vim
changeset 2875:c7d942260772 v7.3.211
updated for version 7.3.211
Problem: Compiler warning.
Solution: Add type cast.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 12 Jun 2011 21:25:00 +0200 |
parents | 2bc415af66aa |
children | 286612e410cd |
files | src/if_cscope.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -2518,7 +2518,7 @@ cs_resolve_file(i, name) /* Check for csdir to be non empty to avoid empty path concatenated to * cscope output. TODO: avoid the unnecessary alloc/free of fullname. */ vim_free(fullname); - fullname = concat_fnames(csdir, (char_u *)name, TRUE); + fullname = (char *)concat_fnames(csdir, (char_u *)name, TRUE); } else (void)sprintf(fullname, "%s", name);