diff options
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index df301f4266..bae09d8c53 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -12478,7 +12478,7 @@ static void f_resolve(typval_T *argvars, typval_T *rettv) /* Ensure that the result will have a trailing path separator * if the argument has one. */ if (remain == NULL && has_trailing_pathsep) - add_pathsep(buf); + add_pathsep((char *)buf); /* Separate the first path component in the link value and * concatenate the remainders. */ @@ -19921,7 +19921,7 @@ repeat: *bufp = *fnamep; if (*fnamep == NULL) return -1; - add_pathsep(*fnamep); + add_pathsep((char *)*fnamep); } } |