tony2001 Tue Jul 1 07:41:38 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/hash hash.c Log: more int -> long fixes http://cvs.php.net/viewvc.cgi/php-src/ext/hash/hash.c?r1=1.18.2.5.2.7.2.7&r2=1.18.2.5.2.7.2.8&diff_format=u Index: php-src/ext/hash/hash.c diff -u php-src/ext/hash/hash.c:1.18.2.5.2.7.2.7 php-src/ext/hash/hash.c:1.18.2.5.2.7.2.8 --- php-src/ext/hash/hash.c:1.18.2.5.2.7.2.7 Thu Jun 26 22:33:16 2008 +++ php-src/ext/hash/hash.c Tue Jul 1 07:41:38 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: hash.c,v 1.18.2.5.2.7.2.7 2008/06/26 22:33:16 scottmac Exp $ */ +/* $Id: hash.c,v 1.18.2.5.2.7.2.8 2008/07/01 07:41:38 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -658,7 +658,7 @@ PHP_FUNCTION(mhash_get_hash_name) { - int algorithm; + long algorithm; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { return; @@ -683,7 +683,7 @@ PHP_FUNCTION(mhash_get_block_size) { - int algorithm; + long algorithm; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { return; @@ -705,7 +705,7 @@ PHP_FUNCTION(mhash_keygen_s2k) { - int algorithm, bytes; + long algorithm, bytes; char *password, *salt; int password_len, salt_len; char padded_salt[SALT_SIZE];
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php