Skip to content

Commit a700e7c

Browse files
committed
fix(storage/fatfs): use standard flex-array fields, instead of extension
1 parent 23ce1cc commit a700e7c

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)