tony2001 Mon Jul 14 10:49:10 2008 UTC
Modified files:
/php-src/ext/hash hash.c
Log:
use long for "l"
http://cvs.php.net/viewvc.cgi/php-src/ext/hash/hash.c?r1=1.46&r2=1.47&diff_format=u
Index: php-src/ext/hash/hash.c
diff -u php-src/ext/hash/hash.c:1.46 php-src/ext/hash/hash.c:1.47
--- php-src/ext/hash/hash.c:1.46 Sat Jul 5 00:34:24 2008
+++ php-src/ext/hash/hash.c Mon Jul 14 10:49:10 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hash.c,v 1.46 2008/07/05 00:34:24 scottmac Exp $ */
+/* $Id: hash.c,v 1.47 2008/07/14 10:49:10 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -828,7 +828,7 @@
Gets the name of hash */
PHP_FUNCTION(mhash_get_hash_name)
{
- int algorithm;
+ long algorithm;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm)
== FAILURE) {
return;
@@ -859,7 +859,7 @@
Gets the block size of hash */
PHP_FUNCTION(mhash_get_block_size)
{
- int algorithm;
+ long algorithm;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm)
== FAILURE) {
return;
@@ -884,7 +884,7 @@
Generates a key using hash functions */
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