]> granicus.if.org Git - php/commitdiff
fix datatype
authorAnatol Belski <ab@php.net>
Wed, 22 Oct 2014 15:46:13 +0000 (17:46 +0200)
committerAnatol Belski <ab@php.net>
Wed, 22 Oct 2014 15:56:31 +0000 (17:56 +0200)
ext/gmp/gmp.c

index de294049c4a6e16d471d988a6dde64ac541cb09b..b5e16845c24077fa296642844bf6b0c6ecd34a9b 100644 (file)
@@ -1792,7 +1792,7 @@ ZEND_FUNCTION(gmp_random)
    Gets a random number in the range 0 to (2 ** n) - 1 */
 ZEND_FUNCTION(gmp_random_bits)
 {
-       long bits;
+       zend_long bits;
        mpz_ptr gmpnum_result;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &bits) == FAILURE) {