1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Fixes arg type for scm_integer_from_mpz

The definition and the declaration for scm_integer_from_mpz
do not match

* libguile/integers.c (scm_integer_from_mpz): takes const mpz_t arg
  No callers need to be changed.
This commit is contained in:
Michael Gran 2022-10-15 10:28:47 -07:00
parent b6a84d50e1
commit 1ddc4eb964

View file

@ -493,7 +493,7 @@ bignum_cmp_long (struct scm_bignum *z, long l)
}
SCM
scm_integer_from_mpz (mpz_srcptr mpz)
scm_integer_from_mpz (const mpz_t mpz)
{
return normalize_bignum (make_bignum_from_mpz (mpz));
}