From: Ilia Alshanetsky Date: Wed, 15 Apr 2009 14:24:38 +0000 (+0000) Subject: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) X-Git-Tag: php-5.3.0RC2~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28db7c020733c3e06dfcbc9ddc2cc804876dfe0c;p=php Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) --- diff --git a/ext/standard/mail.c b/ext/standard/mail.c index d6854a4982..46aa305e9a 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -76,7 +76,7 @@ extern long php_getuid(void); 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) == FAILURE) {