From 6b8616889d8c3c433c9dfe6b239d572ad7912c54 Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 7 Feb 2004 19:14:49 +0000 Subject: Fixed bug #27171 --- ext/gmp/gmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/gmp') 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; } -- cgit v1.2.1