summaryrefslogtreecommitdiff
path: root/include/my_dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_dir.h')
-rw-r--r--include/my_dir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_dir.h b/include/my_dir.h
index 930d54ca72f..12cf5db149d 100644
--- a/include/my_dir.h
+++ b/include/my_dir.h
@@ -94,13 +94,13 @@ typedef struct fileinfo
typedef struct st_my_dir /* Struct returned from my_dir */
{
/*
- These members are just copies of parts of DYNAMIC_ARRAY structure,
+ These members are just copies of parts of DYNAMIC_ARRAY structure,
which is allocated right after the end of MY_DIR structure (MEM_ROOT
for storing names is also resides there). We've left them here because
we don't want to change code that uses my_dir.
*/
struct fileinfo *dir_entry;
- uint number_of_files;
+ size_t number_of_files;
} MY_DIR;
extern MY_DIR *my_dir(const char *path,myf MyFlags);