aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorMark Bainter <mbainter+github@gmail.com>2015-04-20 15:05:21 +0000
committerMark Bainter <mbainter+github@gmail.com>2015-05-06 21:25:05 -0500
commit7774b97d5773a98996ff5d30007570c181546cb1 (patch)
treefb744120a34a756cd2e6da719b6da11b15923af0 /src/nvim/ex_cmds.c
parent80180bf94e84df7d8732a786065c8e3e3dd17b09 (diff)
downloadrneovim-7774b97d5773a98996ff5d30007570c181546cb1.tar.gz
rneovim-7774b97d5773a98996ff5d30007570c181546cb1.tar.bz2
rneovim-7774b97d5773a98996ff5d30007570c181546cb1.zip
Remove char_u: fix_fname()
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index bc2485afc6..62c2d4ac98 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -2080,7 +2080,7 @@ int do_write(exarg_T *eap)
other = FALSE;
} else {
fname = ffname;
- free_fname = fix_fname(ffname);
+ free_fname = (char_u *)fix_fname((char *)ffname);
/*
* When out-of-memory, keep unexpanded file name, because we MUST be
* able to write the file in this situation.
@@ -2579,7 +2579,7 @@ do_ecmd (
ffname = curbuf->b_ffname;
sfname = curbuf->b_fname;
}
- free_fname = fix_fname(ffname); /* may expand to full path name */
+ free_fname = (char_u *)fix_fname((char *)ffname); /* may expand to full path name */
if (free_fname != NULL)
ffname = free_fname;
other_file = otherfile(ffname);