diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-07-31 16:20:57 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-08-25 18:59:12 +0200 |
commit | 40855b0143a864739a6037921e15699445dcf8a7 (patch) | |
tree | 61c7e85a2cad6ca5d97fd436056ce34d4a655698 /src/nvim/file_search.c | |
parent | 22f920030214c0023525c59daf763441baddba1a (diff) | |
download | rneovim-40855b0143a864739a6037921e15699445dcf8a7.tar.gz rneovim-40855b0143a864739a6037921e15699445dcf8a7.tar.bz2 rneovim-40855b0143a864739a6037921e15699445dcf8a7.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 53f87d0e42..2e86e3f7b0 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -827,7 +827,7 @@ char_u *vim_findfile(void *search_ctx_arg) if (search_ctx->ffsc_tagfile) { suf = ""; } else { - suf = (char *)curbuf->b_p_sua; + suf = curbuf->b_p_sua; } for (;;) { // if file exists and we didn't already find it @@ -1355,8 +1355,8 @@ char_u *find_file_in_path(char_u *ptr, size_t len, int options, int first, char_ return find_file_in_path_option(ptr, len, options, first, (*curbuf->b_p_path == NUL ? p_path - : curbuf->b_p_path), - FINDFILE_BOTH, rel_fname, curbuf->b_p_sua); + : (char_u *)curbuf->b_p_path), + FINDFILE_BOTH, rel_fname, (char_u *)curbuf->b_p_sua); } static char_u *ff_file_to_find = NULL; |