summaryrefslogtreecommitdiff
path: root/src/if_cscope.c
diff options
context:
space:
mode:
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);