diff options
author | David Hill <ddhill@php.net> | 2003-03-06 23:07:28 +0000 |
---|---|---|
committer | David Hill <ddhill@php.net> | 2003-03-06 23:07:28 +0000 |
commit | 5c90216d2ce8d8cc8d1453eee1a1e5099bd46631 (patch) | |
tree | 588ccc95099ca43c0bf46f8078fcb77fefa2f765 /ext/standard/metaphone.c | |
parent | 0338111950edcec427cfa2f1610dd6efcd43a14c (diff) | |
download | php-git-5c90216d2ce8d8cc8d1453eee1a1e5099bd46631.tar.gz |
64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
Diffstat (limited to 'ext/standard/metaphone.c')
-rw-r--r-- | ext/standard/metaphone.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/metaphone.c b/ext/standard/metaphone.c index 10e3396edf..716f109b64 100644 --- a/ext/standard/metaphone.c +++ b/ext/standard/metaphone.c @@ -35,7 +35,8 @@ PHP_FUNCTION(metaphone) { char *str; char *result = 0; - int phones = 0, str_len; + int str_len; + long phones = 0; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &str, &str_len, &phones) == FAILURE) { |