mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 01:33:59 +08:00
fix(style): missing (void*) cast in macro LV_STYLE_CONST_INIT (#7304)
This commit is contained in:
parent
98d87021df
commit
4a432c4783
@ -59,7 +59,7 @@ LV_EXPORT_CONST_INT(LV_SCALE_NONE);
|
||||
#else
|
||||
#define LV_STYLE_CONST_INIT(var_name, prop_array) \
|
||||
const lv_style_t var_name = { \
|
||||
.values_and_props = prop_array, \
|
||||
.values_and_props = (void*)prop_array, \
|
||||
.has_group = 0xFFFFFFFF, \
|
||||
.prop_cnt = 255, \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user