diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-09-26 15:40:45 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-09-26 15:40:45 +0000 |
commit | 4b286026c3c38334b2316f00878907bdc29e9ec6 (patch) | |
tree | 46fc25fe2032e0dd6f0a113f5509f810831091a5 /ext/standard/metaphone.c | |
parent | c3272ab020f07bff10b44a57c91a30339b52a883 (diff) | |
download | php-git-4b286026c3c38334b2316f00878907bdc29e9ec6.tar.gz |
64bit fix (Possible fix for bug #38961)
Diffstat (limited to 'ext/standard/metaphone.c')
-rw-r--r-- | ext/standard/metaphone.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/standard/metaphone.c b/ext/standard/metaphone.c index 5f163eb6a6..6ba00cf151 100644 --- a/ext/standard/metaphone.c +++ b/ext/standard/metaphone.c @@ -25,9 +25,7 @@ #include "php.h" #include "php_metaphone.h" -static int metaphone(char *word, int word_len, int max_phonemes, char **phoned_word, int traditional); - -PHP_FUNCTION(metaphone); +static int metaphone(char *word, int word_len, long max_phonemes, char **phoned_word, int traditional); /* {{{ proto string metaphone(string text[, int phones]) Break english phrases down into their phonemes */ @@ -161,7 +159,7 @@ static char Lookahead(char *word, int how_far) /* {{{ metaphone */ -static int metaphone(char *word, int word_len, int max_phonemes, char **phoned_word, int traditional) +static int metaphone(char *word, int word_len, long max_phonemes, char **phoned_word, int traditional) { int w_idx = 0; /* point in the phonization we're at. */ int p_idx = 0; /* end of the phoned phrase */ |