summaryrefslogtreecommitdiff
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-06-12 21:25:00 +0200
committerBram Moolenaar <Bram@vim.org>2011-06-12 21:25:00 +0200
commit03227eeb797dcc7cdd90672b67b8daff61943f21 (patch)
treee789bb7f5dfb1de15b9f68fa045dc9007746041c /src/if_cscope.c
parent2f982e4fabf27806d96cedd34d0f1823a3fc52c0 (diff)
downloadvim-git-03227eeb797dcc7cdd90672b67b8daff61943f21.tar.gz
updated for version 7.3.211v7.3.211
Problem: Compiler warning. Solution: Add type cast.
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index f9e318dde..929448bcf 100644
--- 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);