fix: fix warnings

This commit is contained in:
Gabor Kiss-Vamosi
2020-11-20 10:24:12 +01:00
parent b6f4bc912c
commit 0c66b899e4
3 changed files with 2 additions and 3 deletions

View File

@@ -654,7 +654,6 @@ lv_theme_t * lv_theme_material_init(lv_color_t color_primary, lv_color_t color_s
spinner_init();
chart_init();
checkbox_init();
keyboard_init();
textarea_init();
ddlist_init();
roller_init();

View File

@@ -73,7 +73,7 @@ static lv_signal_cb_t ancestor_signal;
* Pointer to an other bar to copy.
* @return pointer to the created bar
*/
lv_obj_t * lv_bar_create(lv_obj_t * parent, lv_obj_t * copy)
lv_obj_t * lv_bar_create(lv_obj_t * parent, const lv_obj_t * copy)
{
LV_LOG_TRACE("lv_bar create started");

View File

@@ -96,7 +96,7 @@ typedef uint8_t lv_bar_part_t;
* Pointer to an other bar to copy.
* @return pointer to the created bar
*/
lv_obj_t * lv_bar_create(lv_obj_t * parent, lv_obj_t * copy);
lv_obj_t * lv_bar_create(lv_obj_t * parent, const lv_obj_t * copy);
/*=====================
* Setter functions