diff options
author | Anatol Belski <ab@php.net> | 2014-08-19 19:42:16 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-19 19:42:16 +0200 |
commit | 6428b498519442833afcd032f6648251d8b199fc (patch) | |
tree | 265995a0ba628ba54c477025de78dbf597dd0e45 /ext/mbstring/php_mbregex.c | |
parent | e8fcd52ef1d2bb215aa40a4b8507a760079e0497 (diff) | |
download | php-git-6428b498519442833afcd032f6648251d8b199fc.tar.gz |
ported ext/mbstring
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r-- | ext/mbstring/php_mbregex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 4c30eee8a9..baf0a2d44a 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -1060,9 +1060,9 @@ PHP_FUNCTION(mb_split) int string_len; int n, err; - long count = -1; + php_int_t count = -1; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &arg_pattern, &arg_pattern_len, &string, &string_len, &count) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|i", &arg_pattern, &arg_pattern_len, &string, &string_len, &count) == FAILURE) { RETURN_FALSE; } @@ -1397,9 +1397,9 @@ PHP_FUNCTION(mb_ereg_search_getpos) Set search start position */ PHP_FUNCTION(mb_ereg_search_setpos) { - long position; + php_int_t position; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &position) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "i", &position) == FAILURE) { return; } |