fix(examples) resolve string formatting compiler warnings (#3654)

This commit is contained in:
Douglas Healy
2022-09-04 15:47:38 +02:00
committed by GitHub
parent bb4f4cecf9
commit 3b7411893f
6 changed files with 7 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ void lv_example_table_2(void)
lv_obj_t * label = lv_label_create(lv_scr_act());
lv_label_set_text_fmt(label, "%"LV_PRIu32" items were created in %"LV_PRIu32" ms\n"
"using %"LV_PRIu32" bytes of memory",
ITEM_CNT, elaps, mem_used);
(uint32_t)ITEM_CNT, elaps, mem_used);
lv_obj_align(label, LV_ALIGN_BOTTOM_MID, 0, -10);