From: Ilia Alshanetsky Date: Wed, 15 Apr 2009 14:25:20 +0000 (+0000) Subject: MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) X-Git-Tag: php-5.4.0alpha1~191^2~3922 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=312a969a8e69f3c829aa0d90c4353523d5f8f9ae;p=php MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) --- diff --git a/ext/standard/mail.c b/ext/standard/mail.c index af000a6aa5..dd26522eff 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -75,7 +75,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, UG(ascii_conv)) == FAILURE) {