diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-25 22:35:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 22:35:20 +0200 |
commit | 6e9980fc3b6f8e246632aef0f4b8c0edf30e24f0 (patch) | |
tree | 163d6c0553e6c9f7a91d7d0d97e369722dca75be /src/nvim/file_search.c | |
parent | bfd1adc62c615e7b65bdfe6d3c21158708eb4314 (diff) | |
parent | 40855b0143a864739a6037921e15699445dcf8a7 (diff) | |
download | rneovim-6e9980fc3b6f8e246632aef0f4b8c0edf30e24f0.tar.gz rneovim-6e9980fc3b6f8e246632aef0f4b8c0edf30e24f0.tar.bz2 rneovim-6e9980fc3b6f8e246632aef0f4b8c0edf30e24f0.zip |
Merge pull request #19628 from dundargoc/refactor/char_u/2
refactor: replace char_u with char
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; |