]> granicus.if.org Git - php/commitdiff
fix 64-bit
authorStanislav Malyshev <stas@php.net>
Thu, 1 Nov 2007 20:25:11 +0000 (20:25 +0000)
committerStanislav Malyshev <stas@php.net>
Thu, 1 Nov 2007 20:25:11 +0000 (20:25 +0000)
ext/gmp/gmp.c

index 77ae59785755c3a5e372bdb1d4bd411dfca78dfc..3036a0ea02bad663f821bc61517cedf0f5e7b1ed 100644 (file)
@@ -1523,7 +1523,7 @@ ZEND_FUNCTION(gmp_clrbit)
 ZEND_FUNCTION(gmp_testbit)
 {
        zval **a_arg;
-       int index;
+       long index;
        mpz_t *gmpnum_a;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zl", &a_arg, &index) == FAILURE){