diff --git a/src/linked_list.c b/src/linked_list.c index d7c7691..1ded174 100644 --- a/src/linked_list.c +++ b/src/linked_list.c @@ -7,7 +7,7 @@ linked_list linked_list_create() { - linked_list empty_ll = malloc(sizeof(linked_list)); + linked_list empty_ll = malloc(sizeof(struct _linked_list)); empty_ll->first = NULL; empty_ll->last = NULL; empty_ll->size = 0;