mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-24 16:37:18 +08:00
Fix compile warning in lv_spinbox_set_style (#1473)
discards 'const' qualifier from pointer
This commit is contained in:
@@ -82,7 +82,7 @@ lv_obj_t * lv_spinbox_create(lv_obj_t * par, const lv_obj_t * copy);
|
||||
* @param type which style should be set
|
||||
* @param style pointer to a style
|
||||
*/
|
||||
static inline void lv_spinbox_set_style(lv_obj_t * spinbox, lv_spinbox_style_t type, lv_style_t * style)
|
||||
static inline void lv_spinbox_set_style(lv_obj_t * spinbox, lv_spinbox_style_t type, const lv_style_t * style)
|
||||
{
|
||||
lv_ta_set_style(spinbox, type, style);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user