mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix warnings
This commit is contained in:
parent
b44b926156
commit
e45d083436
@ -131,6 +131,14 @@ void * lv_ll_get_prev(const lv_ll_t * ll_p, const void * n_act);
|
||||
*/
|
||||
uint32_t lv_ll_get_len(const lv_ll_t * ll_p);
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* @param ll_p
|
||||
* @param n1_p
|
||||
* @param n2_p
|
||||
*/
|
||||
void lv_ll_swap(lv_ll_t * ll_p, void * n1_p, void * n2_p);
|
||||
|
||||
/**
|
||||
* Move a nodw before an other node in the same linked list
|
||||
* @param ll_p pointer to a linked list
|
||||
|
@ -905,7 +905,7 @@ void lv_label_ins_text(lv_obj_t * label, uint32_t pos, const char * txt)
|
||||
}
|
||||
|
||||
#if LV_USE_BIDI
|
||||
char * bidi_buf = lv_mem_alloc(ins_len) + 1;
|
||||
char * bidi_buf = lv_mem_alloc(ins_len + 1);
|
||||
LV_ASSERT_MEM(bidi_buf);
|
||||
if(bidi_buf == NULL) return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user