summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8a78bde5bd..21b3380775 100644
--- a/ext/gmp/gmp.c
+++ b/ext/gmp/gmp.c
@@ -915,7 +915,7 @@ ZEND_FUNCTION(gmp_gcdext)
}
FETCH_GMP_ZVAL(gmpnum_a, a_arg);
- FETCH_GMP_ZVAL(gmpnum_b, a_arg);
+ FETCH_GMP_ZVAL(gmpnum_b, b_arg);
INIT_GMP_NUM(gmpnum_g);
INIT_GMP_NUM(gmpnum_s);