aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2016-03-29 16:28:18 -0300
committerFelipe Oliveira Carvalho <felipekde@gmail.com>2016-03-29 16:28:18 -0300
commita9e0d734d7b4aa6e6cd77e1834bbc7c6b59c716c (patch)
treeb146b83c672f2766789f5b3d546ec80298ab64da /src/nvim/os
parentae686092f807adbbb578b8ae2c2200654f9df8c1 (diff)
parent06b40d31c1ff4b07cfc44feb4c72d99cc0a2178e (diff)
downloadrneovim-a9e0d734d7b4aa6e6cd77e1834bbc7c6b59c716c.tar.gz
rneovim-a9e0d734d7b4aa6e6cd77e1834bbc7c6b59c716c.tar.bz2
rneovim-a9e0d734d7b4aa6e6cd77e1834bbc7c6b59c716c.zip
Merge pull request #4441 from cacplate/pr-2842
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index 2e671653ed..34d8fde4f1 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -166,7 +166,7 @@ static bool is_executable_in_path(const char_u *name, char_u **abspath)
// Glue together the given directory from $PATH with name and save into
// buf.
STRLCPY(buf, path, e - path + 1);
- append_path((char *) buf, (const char *) name, (int)buf_len);
+ append_path((char *) buf, (const char *) name, buf_len);
if (is_executable(buf)) {
// Check if the caller asked for a copy of the path.