1.1 --- a/src/list.c Sat Apr 22 14:09:46 2023 +0200 1.2 +++ b/src/list.c Sat Apr 22 14:21:02 2023 +0200 1.3 @@ -115,12 +115,12 @@ 1.4 return ptr == NULL ? NULL : *ptr; 1.5 } 1.6 1.7 -static size_t cx_pl_find( 1.8 +static ssize_t cx_pl_find( 1.9 struct cx_list_s const *list, 1.10 void const *elem 1.11 ) { 1.12 cx_pl_hack_cmpfunc(list); 1.13 - size_t ret = list->climpl->find(list, &elem); 1.14 + ssize_t ret = list->climpl->find(list, &elem); 1.15 cx_pl_unhack_cmpfunc(list); 1.16 return ret; 1.17 }