aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 9e3aad5aae..0bb364184a 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -1394,7 +1394,7 @@ static int expand_backtick(garray_T *gap, char_u *pat, int flags)
cmd = buffer;
while (*cmd != NUL) {
- cmd = skipwhite(cmd); // skip over white space
+ cmd = (char_u *)skipwhite((char *)cmd); // skip over white space
p = cmd;
while (*p != NUL && *p != '\r' && *p != '\n') { // skip over entry
++p;