From: Pierre Joye Date: Mon, 20 Jul 2009 12:58:17 +0000 (+0000) Subject: - silent warning again and do it so that lazy compilers won't complain X-Git-Tag: php-5.4.0alpha1~191^2~3030 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0a29091dfeb524e7c63d7457104a65058c5ffb8;p=php - silent warning again and do it so that lazy compilers won't complain --- diff --git a/ext/unicode/unicode_iterators.c b/ext/unicode/unicode_iterators.c index e43510a2e6..df76244ae1 100644 --- a/ext/unicode/unicode_iterators.c +++ b/ext/unicode/unicode_iterators.c @@ -171,7 +171,7 @@ static void text_iter_cp_next(text_iter_obj* object, long flags TSRMLS_DC) object->u.cp.offset = object->u.cp.cp_offset = UBRK_DONE; } } else { - U16_FWD_1(object->text, object->u.cp.offset, object->text_len); + U16_FWD_1(object->text, object->u.cp.offset, (int32_t) object->text_len); if ((uint32_t) object->u.cp.offset <= object->text_len) { object->u.cp.cp_offset++; } else {