[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 13/13: Fixes arg type for scm_integer_from_mpz
From: |
Mike Gran |
Subject: |
[Guile-commits] 13/13: Fixes arg type for scm_integer_from_mpz |
Date: |
Sat, 15 Oct 2022 15:16:33 -0400 (EDT) |
mike121 pushed a commit to branch main
in repository guile.
commit 1ddc4eb964171a6ea9628b0c537040e0e10c8ad1
Author: Michael Gran <spk121@yahoo.com>
AuthorDate: Sat Oct 15 10:28:47 2022 -0700
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.
---
libguile/integers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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));
}
- [Guile-commits] branch main updated (bc3b1a4e2 -> 1ddc4eb96), Mike Gran, 2022/10/15
- [Guile-commits] 01/13: Update libtool initialization in configure script, Mike Gran, 2022/10/15
- [Guile-commits] 02/13: Presume const is always available, Mike Gran, 2022/10/15
- [Guile-commits] 05/13: Remove AC_HEADER_STDC from configure.ac, Mike Gran, 2022/10/15
- [Guile-commits] 06/13: Presume ISO C90 headers are always available, Mike Gran, 2022/10/15
- [Guile-commits] 13/13: Fixes arg type for scm_integer_from_mpz,
Mike Gran <=
- [Guile-commits] 10/13: Modernizes labels-as-values.m4, Mike Gran, 2022/10/15
- [Guile-commits] 11/13: Presumes signal handler return void, Mike Gran, 2022/10/15
- [Guile-commits] 08/13: Presume time.h and sys/time.h don't conflict when included, Mike Gran, 2022/10/15
- [Guile-commits] 03/13: Use autoconf's ability to choose the latest version of C, Mike Gran, 2022/10/15
- [Guile-commits] 07/13: Presume ISO C90 functions are always available, Mike Gran, 2022/10/15
- [Guile-commits] 04/13: Remove obsolete macro AM_PROG_CC_C_O in configure script, Mike Gran, 2022/10/15
- [Guile-commits] 09/13: Remove special logic for the obscure CMU C library's libc.h, Mike Gran, 2022/10/15
- [Guile-commits] 12/13: autoupdate acinclude.m4, Mike Gran, 2022/10/15