be very accurate in casting

This commit is contained in:
matthias.ringwald 2011-09-12 21:17:57 +00:00
parent e16a73262b
commit 88b924b3c0

View File

@ -68,7 +68,7 @@ void linked_list_add_tail(linked_list_t * list, linked_item_t *item){ // <-- a
return;
}
}
item->next = (void*) 0;
item->next = (linked_item_t*) 0;
it->next = item;
}
@ -89,7 +89,7 @@ int linked_list_remove(linked_list_t * list, linked_item_t *item){ // <-- re
}
void linked_item_set_user(linked_item_t *item, void *user_data){
item->next = (void *) 0;
item->next = (linked_item_t *) 0;
item->user_data = user_data;
}