aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorCharles Joachim <cacplate@gmail.com>2016-03-12 10:19:51 -0500
committerCharles Joachim <cacplate@gmail.com>2016-03-27 23:42:39 -0400
commit06b40d31c1ff4b07cfc44feb4c72d99cc0a2178e (patch)
treeb146b83c672f2766789f5b3d546ec80298ab64da /src/nvim/os
parentae686092f807adbbb578b8ae2c2200654f9df8c1 (diff)
downloadrneovim-06b40d31c1ff4b07cfc44feb4c72d99cc0a2178e.tar.gz
rneovim-06b40d31c1ff4b07cfc44feb4c72d99cc0a2178e.tar.bz2
rneovim-06b40d31c1ff4b07cfc44feb4c72d99cc0a2178e.zip
path.c: enable -Wconversion
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.