fix(refr) silence compiler warning due to integer type mismatch (#2722)
This commit is contained in:
committed by
GitHub
parent
95be2c7b99
commit
97bf74915d
@@ -13,13 +13,13 @@ void lv_example_flex_6(void)
|
||||
lv_obj_center(cont);
|
||||
lv_obj_set_flex_flow(cont, LV_FLEX_FLOW_ROW_WRAP);
|
||||
|
||||
uint32_t i;
|
||||
unsigned int i;
|
||||
for(i = 0; i < 20; i++) {
|
||||
lv_obj_t * obj = lv_obj_create(cont);
|
||||
lv_obj_set_size(obj, 70, LV_SIZE_CONTENT);
|
||||
|
||||
lv_obj_t * label = lv_label_create(obj);
|
||||
lv_label_set_text_fmt(label, "%d", i);
|
||||
lv_label_set_text_fmt(label, "%u", i);
|
||||
lv_obj_center(label);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user