mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
64bit long fix: patch by Dave Hill
This commit is contained in:
parent
c5053e0f62
commit
3940c673e3
2 changed files with 9 additions and 10 deletions
|
@ -694,9 +694,8 @@ PHP_FUNCTION(mb_split)
|
|||
mb_regex_t re;
|
||||
struct mbre_registers regs = {0, 0, 0, 0};
|
||||
char *string;
|
||||
int n, err, count, string_len, pos;
|
||||
|
||||
count = -1;
|
||||
int n, err, string_len, pos;
|
||||
long count = -1;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs|l", &arg_pat,
|
||||
&string, &string_len, &count) == FAILURE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue