mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(spinbox) cast ext_attr for C++ (#2051)
This commit is contained in:
parent
27154b632c
commit
9fa5216263
@ -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)
|
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;
|
return ext->step;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user