]> granicus.if.org Git - php/commitdiff
Fix warnign
authorMarcus Boerger <helly@php.net>
Mon, 27 Sep 2004 08:33:11 +0000 (08:33 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 27 Sep 2004 08:33:11 +0000 (08:33 +0000)
Zend/zend_interfaces.c

index 93263a4f170d803c3883e3cadffd90483922a306..7ab33a58091bfb2eedab52c87f1dbbb8b0799901 100755 (executable)
@@ -287,7 +287,7 @@ static zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce,
 static int zend_implement_traversable(zend_class_entry *interface, zend_class_entry *class_type TSRMLS_DC)
 {
        /* check that class_type is traversable at c-level or implements at least one of 'aggregate' and 'Iterator' */
-       int i;
+       zend_uint i;
 
        if (class_type->get_iterator || (class_type->parent && class_type->parent->get_iterator)) {
                return SUCCESS;