diff options
author | Antony Dovgal <tony2001@php.net> | 2008-07-01 07:41:38 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-07-01 07:41:38 +0000 |
commit | 7838408b4bcb27c71264e5a74f20c1f414c784c5 (patch) | |
tree | b01acf6be3c71d92d4790758ace6d9a7bbd481c2 /ext/hash | |
parent | 6eeb67af78eb71d0ebf6c9212bcba3b01cefcc55 (diff) | |
download | php-git-7838408b4bcb27c71264e5a74f20c1f414c784c5.tar.gz |
more int -> long fixes
Diffstat (limited to 'ext/hash')
-rw-r--r-- | ext/hash/hash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 9421f5a067..a221f0a884 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -658,7 +658,7 @@ PHP_FUNCTION(mhash) 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_count) 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_get_block_size) PHP_FUNCTION(mhash_keygen_s2k) { - int algorithm, bytes; + long algorithm, bytes; char *password, *salt; int password_len, salt_len; char padded_salt[SALT_SIZE]; |