aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorMark Bainter <mbainter+github@gmail.com>2015-04-19 23:06:02 +0000
committerMark Bainter <mbainter+github@gmail.com>2015-05-06 21:25:04 -0500
commitf813fdce38067eaf13272be413f50d420d57d58f (patch)
treebe1672b340e900550293d97dd6325e9ee7074790 /src/nvim/ex_getln.c
parent28ad7b5026d731a832bf60ba4c497c9e3d97e9ff (diff)
downloadrneovim-f813fdce38067eaf13272be413f50d420d57d58f.tar.gz
rneovim-f813fdce38067eaf13272be413f50d420d57d58f.tar.bz2
rneovim-f813fdce38067eaf13272be413f50d420d57d58f.zip
Remove char_u: add_pathsep()
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
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;