Skip to content
Browse files

- Fix warnings

  • Loading branch information...
1 parent 7a53802 commit 11ce65aeaf1e61d19eed335eb045696e04ec54b0 Marcus Boerger committed Apr 27, 2004
Showing with 3 additions and 3 deletions.
  1. +3 −3 Zend/zend_interfaces.c
View
6 Zend/zend_interfaces.c
@@ -125,7 +125,7 @@ static void zend_user_it_dtor(zend_object_iterator *_iter TSRMLS_DC)
zend_user_iterator *iter = (zend_user_iterator*)_iter;
zval *object = (zval*)iter->it.data;
- zend_user_it_invalidate_current(iter TSRMLS_CC);
+ zend_user_it_invalidate_current(_iter TSRMLS_CC);
zval_ptr_dtor(&object);
efree(iter);
}
@@ -224,7 +224,7 @@ static void zend_user_it_move_forward(zend_object_iterator *_iter TSRMLS_DC)
zend_user_iterator *iter = (zend_user_iterator*)_iter;
zval *object = (zval*)iter->it.data;
- zend_user_it_invalidate_current(iter TSRMLS_CC);
+ zend_user_it_invalidate_current(_iter TSRMLS_CC);
zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL);
}
/* }}} */
@@ -235,7 +235,7 @@ static void zend_user_it_rewind(zend_object_iterator *_iter TSRMLS_DC)
zend_user_iterator *iter = (zend_user_iterator*)_iter;
zval *object = (zval*)iter->it.data;
- zend_user_it_invalidate_current(iter TSRMLS_CC);
+ zend_user_it_invalidate_current(_iter TSRMLS_CC);
zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_rewind, "rewind", NULL);
}
/* }}} */

0 comments on commit 11ce65a

Please sign in to comment.
Something went wrong with that request. Please try again.