summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-08-05 21:25:39 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-08-05 21:25:39 +0000
commitd46ca6d3b59668eb3ac0d6cf87a4252717dd6919 (patch)
treea0b27d15892ed4e2d91010fd6a4d4259563cb580
parentf1521e18c00f260014b61a2f5140a25539fd3315 (diff)
downloadphp-git-d46ca6d3b59668eb3ac0d6cf87a4252717dd6919.tar.gz
MFH: Fixed compiler warnings in ext/date
-rw-r--r--ext/date/php_date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 9e56c31b80..fafe4f97d5 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -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) {