commit e339f0d7a1ecdabe310b7b7e83b6bfdfa50f78b9 parent b1809aacf142d2acc9b95dad4d7611afab300fbd Author: Louis Burda <quent.burda@gmail.com> Date: Tue, 22 Feb 2022 15:07:10 +0100 Use size_t in list_len Diffstat:
M | src/list.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/list.c b/src/list.c @@ -88,7 +88,7 @@ size_t list_len(struct list *list) { struct link *link; - int len; + size_t len; ASSERT(list != NULL);