summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-03-04 17:14:56 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-03-04 17:14:56 +0000
commita8b620a91f485df5cd6a334ab7be19009acdeac0 (patch)
tree0c7e8ea5d3975f13e73ae44a789ddf0f3e746f00 /ext/mbstring/php_mbregex.c
parent802a410834d5f516a748ba69a53f44604d8f6185 (diff)
downloadphp-git-a8b620a91f485df5cd6a334ab7be19009acdeac0.tar.gz
MFH: 64bit long fix
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r--ext/mbstring/php_mbregex.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c
index b4c12142e1..0126202c53 100644
--- a/ext/mbstring/php_mbregex.c
+++ b/ext/mbstring/php_mbregex.c
@@ -595,9 +595,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) {