# HG changeset patch # User Mike Becker # Date 1668957770 -3600 # Node ID 646e38efc7bc742701521a58b197d303a5d38ff5 # Parent f220695aded6e10b9d367da81b2f0ed0da8eaa31 missing const in cxListFind diff -r f220695aded6 -r 646e38efc7bc src/cx/list.h --- a/src/cx/list.h Sun Nov 20 16:22:16 2022 +0100 +++ b/src/cx/list.h Sun Nov 20 16:22:50 2022 +0100 @@ -360,7 +360,7 @@ */ __attribute__((__nonnull__)) static inline size_t cxListFind( - CxList *list, + CxList const *list, void const *elem ) { return list->cl->find(list, elem);