iliaa           Wed Apr 15 14:25:20 2009 UTC

  Modified files:              
    /php-src/ext/standard       mail.c 
  Log:
  
  MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/mail.c?r1=1.105&r2=1.106&diff_format=u
Index: php-src/ext/standard/mail.c
diff -u php-src/ext/standard/mail.c:1.105 php-src/ext/standard/mail.c:1.106
--- php-src/ext/standard/mail.c:1.105   Tue Mar 10 23:39:40 2009
+++ php-src/ext/standard/mail.c Wed Apr 15 14:25:20 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mail.c,v 1.105 2009/03/10 23:39:40 helly Exp $ */
+/* $Id: mail.c,v 1.106 2009/04/15 14:25:20 iliaa Exp $ */
 
 #include <stdlib.h>
 #include <ctype.h>
@@ -75,7 +75,7 @@
 PHP_FUNCTION(ezmlm_hash)
 {
        char *str = NULL;
-       unsigned long h = 5381L;
+       unsigned int h = 5381;
        int j, str_len;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s&", &str, 
&str_len, UG(ascii_conv)) == FAILURE) {



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

Reply via email to