Fix compile warning in lv_spinbox_set_style (#1473)

discards 'const' qualifier from pointer
This commit is contained in:
Wielebny666
2020-04-25 13:52:08 +02:00
committed by GitHub
parent cdf3628682
commit f7f675afd8
+1 -1
View File
@@ -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);
}