mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-25 09:15:43 +08:00
fix(misc): fix build warning with lv_style.h (#4458)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
+1
-1
@@ -484,7 +484,7 @@ static inline lv_style_res_t lv_style_get_prop_inlined(const lv_style_t * style,
|
||||
lv_style_value_t * value)
|
||||
{
|
||||
if(style->prop_cnt == 255) {
|
||||
lv_style_const_prop_t * props = style->values_and_props;
|
||||
lv_style_const_prop_t * props = (lv_style_const_prop_t *)style->values_and_props;
|
||||
uint32_t i;
|
||||
for(i = 0; props[i].prop_ptr; i++) {
|
||||
if(*props[i].prop_ptr == prop) {
|
||||
|
||||
Reference in New Issue
Block a user