fix(printf) add (int) casts to log messages to avoid warnings on %d
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user