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

@@ -28,7 +28,7 @@ void lv_example_flex_1(void)
lv_obj_set_size(obj, 100, LV_PCT(100));
label = lv_label_create(obj);
lv_label_set_text_fmt(label, "Item: %u", i);
lv_label_set_text_fmt(label, "Item: %"LV_PRIu32"", i);
lv_obj_center(label);
/*Add items to the column*/