Sun, 20 Nov 2022 16:22:50 +0100
missing const in cxListFind
src/cx/list.h | file | annotate | diff | comparison | revisions |
1.1 --- a/src/cx/list.h Sun Nov 20 16:22:16 2022 +0100 1.2 +++ b/src/cx/list.h Sun Nov 20 16:22:50 2022 +0100 1.3 @@ -360,7 +360,7 @@ 1.4 */ 1.5 __attribute__((__nonnull__)) 1.6 static inline size_t cxListFind( 1.7 - CxList *list, 1.8 + CxList const *list, 1.9 void const *elem 1.10 ) { 1.11 return list->cl->find(list, elem);