aboutsummaryrefslogtreecommitdiff
path: root/common/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/list.c')
-rw-r--r--common/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/list.c b/common/list.c
index d38daa0..557e0dc 100644
--- a/common/list.c
+++ b/common/list.c
@@ -51,7 +51,7 @@ size_t list_find(struct list *list, const void *item) {
return -1;
}
-void list_concat(struct list *list, struct list *source) {
+void list_concat(struct list *list, const struct list *source) {
if (list->length + source->length > list->capacity) {
while (list->length + source->length > list->capacity) {
list->capacity *= 2;