fix(spinbox) cast ext_attr for C++
@@ -142,7 +142,7 @@ int32_t lv_spinbox_get_value(lv_obj_t * spinbox);
*/
static inline int32_t lv_spinbox_get_step(lv_obj_t * spinbox)
{
- lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox);
+ lv_spinbox_ext_t * ext = (lv_spinbox_ext_t *)lv_obj_get_ext_attr(spinbox);
return ext->step;
}
