Skip to content

Commit

Permalink
more int -> long fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Jul 1, 2008
1 parent 6eeb67a commit 7838408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/hash/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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];
Expand Down

0 comments on commit 7838408

Please sign in to comment.