Skip to content

Commit 9f253c7

Browse files
committed
Merge branch 'fix/fatfs_use_standard_flex_arrays' into 'master'
fix(storage/fatfs): use standard flex-array fields, instead of extension See merge request espressif/esp-idf!36666
2 parents 395984e + a700e7c commit 9f253c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/fatfs/vfs/vfs_fat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ typedef struct {
4848
char dir_path[FILENAME_MAX]; /* variable to store path of opened directory*/
4949
struct cached_data cached_fileinfo;
5050
#endif
51-
FIL files[0]; /* array with max_files entries; must be the final member of the structure */
51+
FIL files[]; /* array with max_files entries; must be the final member of the structure */
5252
} vfs_fat_ctx_t;
5353

5454
typedef struct {

0 commit comments

Comments
 (0)