diff -r efbd59642577 -r 49a284f61e8c ucx/list.c --- a/ucx/list.c Fri Apr 21 21:25:32 2023 +0200 +++ b/ucx/list.c Sun May 07 11:53:10 2023 +0200 @@ -115,12 +115,12 @@ return ptr == NULL ? NULL : *ptr; } -static size_t cx_pl_find( +static ssize_t cx_pl_find( struct cx_list_s const *list, void const *elem ) { cx_pl_hack_cmpfunc(list); - size_t ret = list->climpl->find(list, &elem); + ssize_t ret = list->climpl->find(list, &elem); cx_pl_unhack_cmpfunc(list); return ret; }