From 3940c673e3d70aead8fa797c1f95dd7435db13be Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Tue, 4 Mar 2003 17:10:29 +0000 Subject: 64bit long fix: patch by Dave Hill --- ext/mbstring/php_mbregex.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ext/mbstring/php_mbregex.c') 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) { -- cgit v1.2.1