From 34f8013465350e864671b626134ec24a49ce1dff Mon Sep 17 00:00:00 2001 From: fallstool Date: Tue, 30 Oct 2018 17:04:11 +0800 Subject: [PATCH] Update lv_list.h --- lv_objx/lv_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lv_objx/lv_list.h b/lv_objx/lv_list.h index 53e9b1aed..fec507003 100644 --- a/lv_objx/lv_list.h +++ b/lv_objx/lv_list.h @@ -199,7 +199,7 @@ lv_obj_t * lv_list_get_next_btn(const lv_obj_t * list, lv_obj_t * prev_btn); * @param btn pointer to a list element (button) * @return the index of the button in the list, or -1 of the button not in this list */ -int lv_list_get_btn_index(const lv_obj_t * list, const lv_obj_t * btn); +int32_t lv_list_get_btn_index(const lv_obj_t * list, const lv_obj_t * btn); /** * Get the number of buttons in the list