diff options
author | ZyX <kp-pav@yandex.ru> | 2016-11-05 01:03:44 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-29 10:08:42 +0300 |
commit | 4bcee963471abd939bb9edd1709418e30be7290f (patch) | |
tree | ed4d8ef5d4526b538a2f6113c3f0fce28c94c2fe /src/nvim/file_search.c | |
parent | 9ed9af7e11e3a707f65abfeb1d02b029e39241ea (diff) | |
download | rneovim-4bcee963471abd939bb9edd1709418e30be7290f.tar.gz rneovim-4bcee963471abd939bb9edd1709418e30be7290f.tar.bz2 rneovim-4bcee963471abd939bb9edd1709418e30be7290f.zip |
*: Fix some Windows-specific warnings
Also fixed an error in path_fnamecmp().
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index f7932bc296..9592235905 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -322,8 +322,11 @@ vim_findfile_init ( drive[0] = path[0]; drive[1] = ':'; drive[2] = NUL; - if (vim_FullName(drive, ff_expand_buffer, MAXPATHL, TRUE) == FAIL) + if (vim_FullName((const char *)drive, (char *)ff_expand_buffer, MAXPATHL, + true) + == FAIL) { goto error_return; + } path += 2; } else #endif |