diff options
author | Mark Bainter <mbainter+github@gmail.com> | 2015-05-07 21:57:04 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-05-13 19:42:31 -0400 |
commit | 7747bf64d8d638b036b5ea39681f29967d98f777 (patch) | |
tree | 6eb7f5c44aa71dec4bdf4f577db9936433b36117 /src/nvim/file_search.c | |
parent | de7332c0f58d822863e9f8bb8db0ea3e061a54bf (diff) | |
download | rneovim-7747bf64d8d638b036b5ea39681f29967d98f777.tar.gz rneovim-7747bf64d8d638b036b5ea39681f29967d98f777.tar.bz2 rneovim-7747bf64d8d638b036b5ea39681f29967d98f777.zip |
minor cleanup. #2610
Update vim_isAbsName() to use bool type
cleanup casts in vim_findfile() and recover_names()
References #2470
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 39a5ec062b..fbff7d2417 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -750,7 +750,7 @@ char_u *vim_findfile(void *search_ctx_arg) * If the path is a URL don't try this. */ if (path_with_url((char *)dirptrs[0])) { - stackp->ffs_filearray = (char_u **)xmalloc(sizeof(char *)); + stackp->ffs_filearray = xmalloc(sizeof(char *)); stackp->ffs_filearray[0] = vim_strsave(dirptrs[0]); stackp->ffs_filearray_size = 1; } else |