]> granicus.if.org Git - php/commitdiff
more int -> long fixes
authorAntony Dovgal <tony2001@php.net>
Tue, 1 Jul 2008 07:41:38 +0000 (07:41 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 1 Jul 2008 07:41:38 +0000 (07:41 +0000)
ext/hash/hash.c

index 9421f5a067d578e3bbdd04d5bb1ba5933c302ce3..a221f0a88420730f33d5a9421b564b455b2f5d8d 100644 (file)
@@ -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];