From ec4d9f3387a289fd5f7dc17aaa3a2517ccd1cb58 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 1 Nov 2007 20:25:11 +0000 Subject: [PATCH] fix 64-bit --- ext/gmp/gmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index 77ae597857..3036a0ea02 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -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){ -- 2.50.1