fix(style): missing (void*) cast in macro LV_STYLE_CONST_INIT (#7304)

This commit is contained in:
Michele Perla 2024-11-21 11:19:16 +01:00 committed by GitHub
parent 98d87021df
commit 4a432c4783
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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, \
}