com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/intl/grap heme/grapheme_string.c

From: Date: Thu, 01 Dec 2016 12:50:05 +0000
Subject: com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/intl/grap heme/grapheme_string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96128@lists.php.net to get a copy of this message
Commit: b7b7dd8cea41f47877095e02374d39d3a75dc4f1 Author: Dmitry Stogov <dmitry@zend.com> Thu, 1 Dec 2016 15:50:05 +0300 Parents: 043d8e2fe1391494b666abaeedc20f04fa1a109e 1cd566e13f915ccd06a1140d04d4d946748ad021 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b7b7dd8cea41f47877095e02374d39d3a75dc4f1 Log: Merge branch 'PHP-5.6' into PHP-7.0 * PHP-5.6: Workaround for GCC-4.9.2 bug oops, changed in wrong place Changed paths: MM ext/intl/grapheme/grapheme_string.c Diff: diff --cc ext/intl/grapheme/grapheme_string.c index f695004,6d1ff61..c9b2d0e --- a/ext/intl/grapheme/grapheme_string.c +++ b/ext/intl/grapheme/grapheme_string.c @@@ -774,11 -800,11 +774,11 @@@ PHP_FUNCTION(grapheme_extract { char *str, *pstr; UText ut = UTEXT_INITIALIZER; - 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 */ + 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 */ int32_t start = 0; - long extract_type = GRAPHEME_EXTRACT_TYPE_COUNT; + zend_long extract_type = GRAPHEME_EXTRACT_TYPE_COUNT; UErrorCode status; unsigned char u_break_iterator_buffer[U_BRK_SAFECLONE_BUFFERSIZE]; UBreakIterator* bi = NULL;

« previous php.cvs (#96128) next »