summaryrefslogtreecommitdiff
path: root/ext/standard/metaphone.c
diff options
context:
space:
mode:
authorDavid Hill <ddhill@php.net>2003-03-06 23:07:28 +0000
committerDavid Hill <ddhill@php.net>2003-03-06 23:07:28 +0000
commit5c90216d2ce8d8cc8d1453eee1a1e5099bd46631 (patch)
tree588ccc95099ca43c0bf46f8078fcb77fefa2f765 /ext/standard/metaphone.c
parent0338111950edcec427cfa2f1610dd6efcd43a14c (diff)
downloadphp-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.c3
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) {