diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-04 17:10:29 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-04 17:10:29 +0000 |
commit | 3940c673e3d70aead8fa797c1f95dd7435db13be (patch) | |
tree | 19b30a3f570f42855475ebe8af71cd91722b02e5 /ext/mbstring/php_mbregex.c | |
parent | c5053e0f621b989323f9094d4e4328e530bc9974 (diff) | |
download | php-git-3940c673e3d70aead8fa797c1f95dd7435db13be.tar.gz |
64bit long fix: patch by Dave Hill
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r-- | ext/mbstring/php_mbregex.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 29528bac9f..8d1289a8f7 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -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) { |