com php-src: Fixed bad merge: ext/intl/grapheme/grapheme_stri ng.c

From: Date: Thu, 01 Dec 2016 13:21:57 +0000
Subject: com php-src: Fixed bad merge: ext/intl/grapheme/grapheme_stri ng.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96129@lists.php.net to get a copy of this message
Commit: 7f22e3c8790b57ab2052e8af4ac212452c3176a3 Author: Dmitry Stogov <dmitry@zend.com> Thu, 1 Dec 2016 16:21:57 +0300 Parents: b7b7dd8cea41f47877095e02374d39d3a75dc4f1 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f22e3c8790b57ab2052e8af4ac212452c3176a3 Log: Fixed bad merge Changed paths: M ext/intl/grapheme/grapheme_string.c Diff: diff --git a/ext/intl/grapheme/grapheme_string.c b/ext/intl/grapheme/grapheme_string.c index c9b2d0e..f695004 100644 --- a/ext/intl/grapheme/grapheme_string.c +++ b/ext/intl/grapheme/grapheme_string.c @@ -774,9 +774,9 @@ PHP_FUNCTION(grapheme_extract) { char *str, *pstr; UText ut = UTEXT_INITIALIZER; - int str_len; - long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_type) to return */ - long lstart = 0; /* starting position in str in bytes */ + size_t str_len; + zend_long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_type) to return */ + zend_long lstart = 0; /* starting position in str in bytes */ int32_t start = 0; zend_long extract_type = GRAPHEME_EXTRACT_TYPE_COUNT; UErrorCode status;

« previous php.cvs (#96129) next »