com php-src: oops, changed in wrong place: ext/intl/grapheme/gr apheme_string.c

From: Date: Mon, 28 Nov 2016 00:11:41 +0000
Subject: com php-src: oops, changed in wrong place: ext/intl/grapheme/gr apheme_string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96087@lists.php.net to get a copy of this message
Commit: c8778eb29346c2516620aee127789c8b3161a4f8 Author: Stanislav Malyshev <stas@php.net> Sun, 27 Nov 2016 16:11:41 -0800 Parents: 36d02a36aea48c1f3871a53f1503dccf074a906e Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c8778eb29346c2516620aee127789c8b3161a4f8 Log: oops, changed in wrong place 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 d298bab..6d1ff61 100644 --- a/ext/intl/grapheme/grapheme_string.c +++ b/ext/intl/grapheme/grapheme_string.c @@ -800,9 +800,9 @@ 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; UErrorCode status;

« previous php.cvs (#96087) next »