summaryrefslogtreecommitdiff
path: root/ext/gmp/gmp.c
diff options
context:
space:
mode:
authorjim winstead <jimw@php.net>2002-04-09 20:18:09 +0000
committerjim winstead <jimw@php.net>2002-04-09 20:18:09 +0000
commitf5b7d979c0fbf4075730ab834003a86d12e92a9f (patch)
tree18a9aec08fca6f448dc6365779f358fcb3031e0f /ext/gmp/gmp.c
parent22673618f71086820891514ec2c5e4f4350ad16e (diff)
downloadphp-git-f5b7d979c0fbf4075730ab834003a86d12e92a9f.tar.gz
Fix bug #15835.
Diffstat (limited to 'ext/gmp/gmp.c')
-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 56f53f63c5..1a3c579f09 100644
--- a/ext/gmp/gmp.c
+++ b/ext/gmp/gmp.c
@@ -946,7 +946,7 @@ ZEND_FUNCTION(gmp_invert)
}
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_result);
if(mpz_invert(*gmpnum_result, *gmpnum_a, *gmpnum_b)) {