aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/win/lv_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/win/lv_win.c')
-rw-r--r--src/widgets/win/lv_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/win/lv_win.c b/src/widgets/win/lv_win.c
index bdc5a1de3..7a830601b 100644
--- a/src/widgets/win/lv_win.c
+++ b/src/widgets/win/lv_win.c
@@ -60,7 +60,7 @@ lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt)
return title;
}
-lv_obj_t * lv_win_add_button(lv_obj_t * win, const void * icon, lv_coord_t btn_w)
+lv_obj_t * lv_win_add_button(lv_obj_t * win, const void * icon, int32_t btn_w)
{
lv_obj_t * header = lv_win_get_header(win);
lv_obj_t * btn = lv_button_create(header);