use signed int to make pedantic gcc happy
This commit is contained in:
parent
065204dc85
commit
89978e5097
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ void list_revert(list_t *list) {
|
|||
list->head = reverted.head;
|
||||
}
|
||||
|
||||
list_node_t* list_elementat(list_t *list, unsigned int i) {
|
||||
list_node_t* list_elementat(list_t *list, int i) {
|
||||
if (list_empty(list) || i > list_length(list)-1) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue