Skip to content

Commit

Permalink
fix(lv_table): suppressed compilation warnings due to zero-size arrays (
Browse files Browse the repository at this point in the history
  • Loading branch information
ymh-kotaro-terada authored May 7, 2024
1 parent 6cee9ca commit e84feee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/lv_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ typedef struct {
#if LV_USE_USER_DATA
void * user_data; /**< Custom user data*/
#endif
char txt[];
char txt[1];
} lv_table_cell_t;

/*Data of table*/
Expand Down

0 comments on commit e84feee

Please sign in to comment.