From: Antony Dovgal Date: Tue, 1 Jul 2008 07:41:38 +0000 (+0000) Subject: more int -> long fixes X-Git-Tag: php-5.3.0alpha1~552 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7838408b4bcb27c71264e5a74f20c1f414c784c5;p=php more int -> long fixes --- 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];