Commit c19148df c19148df12d25d3aa3ed9550500abcb263692593 by Sergey Poznyakoff

(iterator_set_getitem): Changed declaration

(iterator_current): Additional typecast on pitem
1 parent c6041adc
......@@ -61,7 +61,7 @@ iterator_set_next (iterator_t itr, int (*next) (void *))
}
int
iterator_set_getitem (iterator_t itr, int (*getitem) (void *, void * const *))
iterator_set_getitem (iterator_t itr, int (*getitem) (void *, void **))
{
if (!itr)
return EINVAL;
......@@ -175,7 +175,7 @@ iterator_next (iterator_t iterator)
int
iterator_current (iterator_t iterator, void * const *pitem)
{
return iterator->getitem (iterator->owner, pitem);
return iterator->getitem (iterator->owner, (void**)pitem);
}
int
......