aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorMark Bainter <mbainter+github@gmail.com>2015-04-20 14:44:32 +0000
committerMark Bainter <mbainter+github@gmail.com>2015-05-06 21:25:04 -0500
commit80180bf94e84df7d8732a786065c8e3e3dd17b09 (patch)
tree7ae2667e816bced39ba287086a74a222a9968827 /src/nvim/eval.c
parent657fd619734b11954412b873d897e943fbbec6d9 (diff)
downloadrneovim-80180bf94e84df7d8732a786065c8e3e3dd17b09.tar.gz
rneovim-80180bf94e84df7d8732a786065c8e3e3dd17b09.tar.bz2
rneovim-80180bf94e84df7d8732a786065c8e3e3dd17b09.zip
Remove char_u: FullName_save()
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index f782259c0d..f291d9f302 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -15484,7 +15484,7 @@ static void f_undofile(typval_T *argvars, typval_T *rettv)
/* If there is no file name there will be no undo file. */
rettv->vval.v_string = NULL;
} else {
- char_u *ffname = FullName_save(fname, FALSE);
+ char_u *ffname = (char_u *)FullName_save((char *)fname, FALSE);
if (ffname != NULL)
rettv->vval.v_string = u_get_undo_file_name(ffname, FALSE);
@@ -19906,7 +19906,7 @@ repeat:
/* FullName_save() is slow, don't use it when not needed. */
if (*p != NUL || !vim_isAbsName(*fnamep)) {
- *fnamep = FullName_save(*fnamep, *p != NUL);
+ *fnamep = (char_u *)FullName_save((char *)*fnamep, *p != NUL);
xfree(*bufp); /* free any allocated file name */
*bufp = *fnamep;
if (*fnamep == NULL)
@@ -19940,7 +19940,7 @@ repeat:
if (c == '.' && **fnamep == '~')
p = pbuf = expand_env_save(*fnamep);
else
- p = pbuf = FullName_save(*fnamep, FALSE);
+ p = pbuf = (char_u *)FullName_save((char *)*fnamep, FALSE);
} else
p = *fnamep;