64bit long fix: patch by Dave Hill

This commit is contained in:
Moriyoshi Koizumi 2003-03-04 17:10:29 +00:00
parent c5053e0f62
commit 3940c673e3
2 changed files with 9 additions and 10 deletions

View file

@ -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) {