iliaa           Tue Sep 26 15:40:59 2006 UTC

  Modified files:              
    /php-src/ext/standard       metaphone.c 
  Log:
  MFB: 64bit fix (Possible fix for bug #38961)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/metaphone.c?r1=1.30&r2=1.31&diff_format=u
Index: php-src/ext/standard/metaphone.c
diff -u php-src/ext/standard/metaphone.c:1.30 
php-src/ext/standard/metaphone.c:1.31
--- php-src/ext/standard/metaphone.c:1.30       Sun Jun 25 19:19:31 2006
+++ php-src/ext/standard/metaphone.c    Tue Sep 26 15:40:59 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: metaphone.c,v 1.30 2006/06/25 19:19:31 bjori Exp $ */
+/* $Id: metaphone.c,v 1.31 2006/09/26 15:40:59 iliaa Exp $ */
 
 /*
        Based on CPANs "Text-Metaphone-1.96" by Michael G Schwern <[EMAIL 
PROTECTED]> 
@@ -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 @@
 
 /* {{{ 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 */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to