diff options
Diffstat (limited to 'ext/gmp/gmp.c')
| -rw-r--r-- | ext/gmp/gmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index 78c286cc83..800878e278 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -628,7 +628,7 @@ static zend_result convert_to_gmp(mpz_t gmpnumber, zval *val, zend_long base, ui } default: { zend_long lval; - if (!zend_parse_arg_long_slow(val, &lval)) { + if (!zend_parse_arg_long_slow(val, &lval, arg_pos)) { zend_argument_type_error(arg_pos, "must be of type GMP|string|int, %s given", zend_zval_type_name(val)); return FAILURE; } |
