From: foobar Date: Sat, 7 Feb 2004 19:15:09 +0000 (+0000) Subject: MFH: fixed bug #27171 X-Git-Tag: php-4.3.5RC3~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a360d7d794fda1b50cee02e560e0bca790cc3f63;p=php MFH: fixed bug #27171 --- diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index bc83af003c..87b28539f9 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -1219,7 +1219,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; }