From: foobar Date: Sat, 7 Feb 2004 19:14:49 +0000 (+0000) Subject: Fixed bug #27171 X-Git-Tag: php-5.0.0b4RC1~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b8616889d8c3c433c9dfe6b239d572ad7912c54;p=php Fixed bug #27171 --- diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index d6fc3f908a..5781da4e0e 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -1231,7 +1231,7 @@ ZEND_FUNCTION(gmp_hamdist) zval **a_arg, **b_arg; mpz_t *gmpnum_a, *gmpnum_b; - if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(1, &a_arg, &b_arg) == FAILURE){ + if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &a_arg, &b_arg) == FAILURE){ WRONG_PARAM_COUNT; }