diff options
author | John Drouhard <john@drouhard.dev> | 2022-08-01 11:38:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-01 11:38:17 +0100 |
commit | 95fca12b0e8a351ce4416417323db24c63eb940a (patch) | |
tree | 5458560bbf1fa58bd52f89d47db65c4f6e2a2691 /src/findfile.c | |
parent | 84b247fab70e9b76539c2a0e24556e7c66126974 (diff) | |
download | vim-git-95fca12b0e8a351ce4416417323db24c63eb940a.tar.gz |
patch 9.0.0126: expanding file names fails in dir with more than 255 entriesv9.0.0126
Problem: Expanding file names fails in directory with more than 255
entries.
Solution: Use an int instead of char_u to count. (John Drouhard,
closes #10818)
Diffstat (limited to 'src/findfile.c')
-rw-r--r-- | src/findfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/findfile.c b/src/findfile.c index 12e76b444..881eef156 100644 --- a/src/findfile.c +++ b/src/findfile.c @@ -75,7 +75,7 @@ typedef struct ff_stack // of wc_part char_u **ffs_filearray; int ffs_filearray_size; - char_u ffs_filearray_cur; // needed for partly handled dirs + int ffs_filearray_cur; // needed for partly handled dirs // to store status of partly handled directories // 0: we work on this directory for the first time |