From 28db7c020733c3e06dfcbc9ddc2cc804876dfe0c Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 15 Apr 2009 14:24:38 +0000 Subject: [PATCH] Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) --- ext/standard/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1