diff -r 68b75c091028 -r 55b13f583356 src/list.c --- a/src/list.c Sun Dec 14 16:21:09 2025 +0100 +++ b/src/list.c Sun Dec 14 17:30:17 2025 +0100 @@ -512,12 +512,11 @@ struct cx_list_s *list, struct cx_list_class_s *cl, const struct cx_allocator_s *allocator, - cx_compare_func comparator, size_t elem_size ) { list->cl = cl; list->collection.allocator = allocator; - list->collection.cmpfunc = comparator; + list->collection.cmpfunc = NULL; if (elem_size > 0) { list->collection.elem_size = elem_size; } else {