summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-02-07 19:14:49 +0000
committerfoobar <sniper@php.net>2004-02-07 19:14:49 +0000
commit6b8616889d8c3c433c9dfe6b239d572ad7912c54 (patch)
tree902f5fa75502e7327ab7b92af97fb81d94b2acc2 /ext
parente3d0e587b8b20437af2e2bf9ea69e3f44551f2e5 (diff)
downloadphp-git-6b8616889d8c3c433c9dfe6b239d572ad7912c54.tar.gz
Fixed bug #27171
Diffstat (limited to 'ext')
-rw-r--r--ext/gmp/gmp.c2
1 files changed, 1 insertions, 1 deletions
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;
}