From: Kalle Sommer Nielsen Date: Tue, 4 Aug 2009 21:11:35 +0000 (+0000) Subject: Fix compiler warnings in ext/date X-Git-Tag: php-5.4.0alpha1~191^2~2852 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70e338e285546b70623aed279d451edb73d9a57d;p=php Fix compiler warnings in ext/date --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 3c7e490951..588b04bd92 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -3393,7 +3393,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, ×tamp_begin, ×tamp_end) == FAILURE) {