mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-10 04:37:55 +08:00
fix(ESP): fix esp toolchain format specifier edge case (#9336)
This commit is contained in:
@@ -758,7 +758,7 @@ lv_observer_t * lv_obj_bind_style_prop(lv_obj_t * obj, lv_style_prop_t prop, lv_
|
||||
|
||||
if(subject->type != LV_SUBJECT_TYPE_INT && subject->type != LV_SUBJECT_TYPE_COLOR &&
|
||||
subject->type != LV_SUBJECT_TYPE_POINTER) {
|
||||
LV_LOG_WARN("Subject type must be `int`, `color`, or `pointer` (was %"LV_PRIu32")", subject->type);
|
||||
LV_LOG_WARN("Subject type must be `int`, `color`, or `pointer` (was %"LV_PRIu32")", (uint32_t) subject->type);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -1317,7 +1317,7 @@ static void bind_style_prop_observer_cb(lv_observer_t * observer, lv_subject_t *
|
||||
else if(subject->type == LV_SUBJECT_TYPE_COLOR) style_v.color = lv_subject_get_color(subject);
|
||||
else if(subject->type == LV_SUBJECT_TYPE_POINTER) style_v.ptr = lv_subject_get_pointer(subject);
|
||||
else {
|
||||
LV_LOG_WARN("Not supported subject type (%"LV_PRIu32")", subject->type);
|
||||
LV_LOG_WARN("Not supported subject type (%"LV_PRIu32")", (uint32_t) subject->type);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user