fix(printf) add (int) casts to log messages to avoid warnings on %d

This commit is contained in:
Gabor Kiss-Vamosi
2021-11-03 11:52:56 +01:00
parent 63ff80192b
commit d9d3f27126
10 changed files with 13 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
static void event_handler(lv_event_t * e)
{
lv_obj_t * obj = lv_event_get_target(e);
LV_LOG_USER("Button %d clicked", lv_obj_get_index(obj));
LV_LOG_USER("Button %d clicked", (int)lv_obj_get_index(obj));
}
void lv_example_win_1(void)