# HG changeset patch # User Matti Hamalainen # Date 1675262616 -7200 # Node ID 72fb5ce9086a044aaa3c14a13197cb5c622f6317 # Parent 2ab2fece83ea86569f36a158ad98ff5d98e3898d Fix constness. diff -r 2ab2fece83ea -r 72fb5ce9086a th_datastruct.c --- a/th_datastruct.c Wed Feb 01 14:09:25 2023 +0200 +++ b/th_datastruct.c Wed Feb 01 16:43:36 2023 +0200 @@ -205,7 +205,7 @@ size_t th_llist_length_slow(const th_llist_t *list) { - th_llist_t *curr = list; + const th_llist_t *curr = list; size_t i; for (i = 0; curr != NULL; curr = curr->next, i++);