diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2009-04-15 14:24:38 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2009-04-15 14:24:38 +0000 |
commit | 28db7c020733c3e06dfcbc9ddc2cc804876dfe0c (patch) | |
tree | aa37a1da4a8f634faa84dcfafa0d0d15503d6a43 /ext/standard/mail.c | |
parent | dd5189e9bd7d56d05841f7f80af8cce4474e68db (diff) | |
download | php-git-28db7c020733c3e06dfcbc9ddc2cc804876dfe0c.tar.gz |
Fixed bug #47969 (ezmlm_hash() returns different values depend on OS)
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r-- | ext/standard/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |