Оновити 'cv4/list_ops.c'
This commit is contained in:
parent
11393048bb
commit
c9721eca2c
@ -12,7 +12,7 @@ list_t *new_list(size_t length, list_element_t elements[]) {
|
||||
|
||||
list->length = length;
|
||||
for (size_t i = 0; i < length; i++) {
|
||||
list->elements[i] = elements[i];
|
||||
list->elements[i] = elements[i+1];
|
||||
}
|
||||
|
||||
return list;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user