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/ex_cmds2.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/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index b79d09885c..08d84c2440 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -495,7 +495,7 @@ dbg_parsearg ( if (p == NULL) return FAIL; if (*p != '*') { - bp->dbg_name = fix_fname(p); + bp->dbg_name = (char_u *)fix_fname((char *)p); xfree(p); } else bp->dbg_name = p; @@ -1692,7 +1692,7 @@ void do_argfile(exarg_T *eap, int argn) */ other = TRUE; if (P_HID(curbuf)) { - p = fix_fname(alist_name(&ARGLIST[argn])); + p = (char_u *)fix_fname((char *)alist_name(&ARGLIST[argn])); other = otherfile(p); xfree(p); } @@ -2144,7 +2144,7 @@ int do_in_runtimepath(char_u *name, int all, DoInRuntimepathCB callback, if (!did_one) did_one = (cookie == NULL); } else if (STRLEN(buf) + STRLEN(name) + 2 < MAXPATHL) { - add_pathsep(buf); + add_pathsep((char *)buf); tail = buf + STRLEN(buf); /* Loop over all patterns in "name" */ @@ -2313,7 +2313,7 @@ do_source ( p = expand_env_save(fname); if (p == NULL) return retval; - fname_exp = fix_fname(p); + fname_exp = (char_u *)fix_fname((char *)p); xfree(p); if (fname_exp == NULL) return retval; @@ -3305,7 +3305,7 @@ static void script_host_execute(char *name, exarg_T *eap) static void script_host_execute_file(char *name, exarg_T *eap) { uint8_t buffer[MAXPATHL]; - vim_FullName(eap->arg, buffer, sizeof(buffer), false); + vim_FullName((char *)eap->arg, (char *)buffer, sizeof(buffer), false); list_T *args = list_alloc(); // filename |