Fixed bug #47969 (ezmlm_hash() returns different values depend on OS)

This commit is contained in:
Ilia Alshanetsky 2009-04-15 14:24:38 +00:00
parent dd5189e9bd
commit 28db7c0207

View file

@ -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) {