diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-05-07 08:08:31 +0200 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-05-07 08:08:31 +0200 |
commit | f88cec802169d94ad0a19d45746feac5fe2ea0fa (patch) | |
tree | c87107941de9eab120e21df65e46432921c7aebe /src/nvim/buffer.c | |
parent | a2cf628603bf5948f96ceb90b653d2879a9d2f9e (diff) | |
parent | 2f60a69bafc4b5130fb213df206179701ec0d74a (diff) | |
download | rneovim-f88cec802169d94ad0a19d45746feac5fe2ea0fa.tar.gz rneovim-f88cec802169d94ad0a19d45746feac5fe2ea0fa.tar.bz2 rneovim-f88cec802169d94ad0a19d45746feac5fe2ea0fa.zip |
Merge #2470: Remove char_u (5)
Reviewed-by: Scott Prager <splinterofchaos@gmail.com>
Reviewed-by: Michael Reed <m.reed@mykolab.com>
Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com>
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 395b20b219..094e80086c 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -1661,7 +1661,7 @@ buf_T *buflist_findname_exp(char_u *fname) buf_T *buf = NULL; /* First make the name into a full path name */ - ffname = FullName_save(fname, + ffname = (char_u *)FullName_save((char *)fname, #ifdef UNIX TRUE /* force expansion, get rid of symbolic links */ #else @@ -3569,7 +3569,7 @@ void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname) return; if (*sfname == NULL) /* if no short file name given, use ffname */ *sfname = *ffname; - *ffname = fix_fname(*ffname); /* expand to full path */ + *ffname = (char_u *)fix_fname((char *)*ffname); /* expand to full path */ #ifdef FEAT_SHORTCUT if (!buf->b_p_bin) { |