From: Ilia Alshanetsky Date: Wed, 15 Apr 2009 14:25:06 +0000 (+0000) Subject: MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) X-Git-Tag: php-5.2.10RC1~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a685410559cfba63b80d83bf8e589ce8dd28c3b;p=php MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) --- diff --git a/NEWS b/NEWS index ddaa7f8e69..e3dbd223ea 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,8 @@ PHP NEWS - Fixed memory leak in ob_get_clean/ob_get_flush. (Christian) - Fixed segfault on invalid session.save_path. (Hannes) +- Fixed bug #47969 (ezmlm_hash() returns different values depend on OS). + (Ilia) - Fixed bug #47946 (ImageConvolution overwrites background). (Ilia) - Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe) - Fixed bug #47893 (CLI aborts on non blocking stdout). (Arnaud) diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 41d7656c3b..de9588d5a8 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -73,7 +73,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",