summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gran <spk121@yahoo.com>2022-10-15 10:28:47 -0700
committerMichael Gran <spk121@yahoo.com>2022-10-15 10:35:54 -0700
commit1ddc4eb964171a6ea9628b0c537040e0e10c8ad1 (patch)
tree60a742b6aaa9df3fe591721f962121c59e508999
parentb6a84d50e1a998bf34eff225029c90a65a54c320 (diff)
downloadguile-1ddc4eb964171a6ea9628b0c537040e0e10c8ad1.tar.gz
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.
-rw-r--r--libguile/integers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/integers.c b/libguile/integers.c
index 168593da5..cc62d1c78 100644
--- a/libguile/integers.c
+++ b/libguile/integers.c
@@ -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));
}