cvs: php4 /ext/gmp gmp.c

From: Date: Wed, 27 Mar 2002 23:47:07 +0000
Subject: cvs: php4 /ext/gmp gmp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10731@lists.php.net to get a copy of this message
sniper Wed Mar 27 18:47:07 2002 EDT Modified files: /php4/ext/gmp gmp.c Log: Fixed bug: #16237 Index: php4/ext/gmp/gmp.c diff -u php4/ext/gmp/gmp.c:1.26 php4/ext/gmp/gmp.c:1.27 --- php4/ext/gmp/gmp.c:1.26 Thu Feb 28 03:26:13 2002 +++ php4/ext/gmp/gmp.c Wed Mar 27 18:47:06 2002 @@ -1107,12 +1107,12 @@ Sets or clear bit in a */ ZEND_FUNCTION(gmp_setbit) { - zval **a_arg, **ind_arg, **sc_arg; + zval **a_arg, **ind_arg, **set_c_arg; int argc, index, set=1; mpz_t *gmpnum_a; argc = ZEND_NUM_ARGS(); - if (argc < 2 || argc > 3 || zend_get_parameters_ex(argc, &a_arg, &ind_arg, &sc_arg) == FAILURE){ + if (argc < 2 || argc > 3 || zend_get_parameters_ex(argc, &a_arg, &ind_arg, &set_c_arg) == FAILURE){ WRONG_PARAM_COUNT; } @@ -1123,8 +1123,8 @@ switch (argc) { case 3: - convert_to_long_ex(sc_arg); - set = Z_LVAL_PP(sc_arg); + convert_to_long_ex(set_c_arg); + set = Z_LVAL_PP(set_c_arg); break; case 2: set = 1;

« previous php.cvs (#10731) next »