aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-07-31 16:20:57 +0200
committerdundargoc <gocundar@gmail.com>2022-08-12 14:22:02 +0200
commit094cdf2d691bc005dadb5a22bb83b85f3b6dff49 (patch)
treef09ca6baf124ceaeaef27c095fee1e30ecb772b0 /src/nvim/fileio.c
parentf79773a3b4b3ce5a3b37652a72b12089880f32a4 (diff)
downloadrneovim-094cdf2d691bc005dadb5a22bb83b85f3b6dff49.tar.gz
rneovim-094cdf2d691bc005dadb5a22bb83b85f3b6dff49.tar.bz2
rneovim-094cdf2d691bc005dadb5a22bb83b85f3b6dff49.zip
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index b467f53bbd..24bc7358e7 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -5580,14 +5580,14 @@ bool match_file_list(char_u *list, char_u *sfname, char_u *ffname)
char_u *regpat;
char allow_dirs;
bool match;
- char_u *p;
+ char *p;
tail = (char_u *)path_tail((char *)sfname);
// try all patterns in 'wildignore'
- p = list;
+ p = (char *)list;
while (*p) {
- copy_option_part((char **)&p, (char *)buf, ARRAY_SIZE(buf), ",");
+ copy_option_part(&p, (char *)buf, ARRAY_SIZE(buf), ",");
regpat = (char_u *)file_pat_to_reg_pat((char *)buf, NULL, &allow_dirs, false);
if (regpat == NULL) {
break;