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_getln.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_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 1a04f1bd91..3af035a6e3 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -3890,7 +3890,7 @@ static void expand_shellcmd(char_u *filepat, int *num_file, char_u ***file, if (l > MAXPATHL - 5) break; STRLCPY(buf, s, l + 1); - add_pathsep(buf); + add_pathsep((char *)buf); l = STRLEN(buf); STRLCPY(buf + l, pat, MAXPATHL - l); @@ -4107,7 +4107,7 @@ void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options) // Copy one item of the path to buf[] and concatenate the file name. copy_option_part(&path, buf, MAXPATHL, ","); if (STRLEN(buf) + STRLEN(file) + 2 < MAXPATHL) { - add_pathsep(buf); + add_pathsep((char *)buf); STRCAT(buf, file); // NOLINT char_u **p; |