]> granicus.if.org Git - php/commitdiff
MFH: Fixed compiler warnings in ext/date
authorKalle Sommer Nielsen <kalle@php.net>
Wed, 5 Aug 2009 21:25:39 +0000 (21:25 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Wed, 5 Aug 2009 21:25:39 +0000 (21:25 +0000)
ext/date/php_date.c

index 9e56c31b80448b339f8cff79afe070f428e13dc7..fafe4f97d5f084df4f5269c377575b12a339fd50 100644 (file)
@@ -3270,7 +3270,7 @@ PHP_FUNCTION(timezone_transitions_get)
 {
        zval                *object, *element;
        php_timezone_obj    *tzobj;
-       int                  i, begin = 0, found;
+       unsigned int         i, begin = 0, found;
        long                 timestamp_begin = LONG_MIN, timestamp_end = LONG_MAX;
 
        if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|ll", &object, date_ce_timezone, &timestamp_begin, &timestamp_end) == FAILURE) {