summaryrefslogtreecommitdiff
path: root/mpz/init.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <torbjorng@google.com>2015-09-08 18:22:27 +0200
committerTorbjorn Granlund <torbjorng@google.com>2015-09-08 18:22:27 +0200
commitbd5cfb2912e4653c76e22cefb1b55c45414f2507 (patch)
tree19e64e2ca2346942b220ca35cd2871a4175c1d5b /mpz/init.c
parent079be863b8e05c8a345d886cbca10d897e2a287f (diff)
downloadgmp-bd5cfb2912e4653c76e22cefb1b55c45414f2507.tar.gz
Wrap remaining limb allocations in __GMP_ALLOCATE_FUNC_LIMBS.
Diffstat (limited to 'mpz/init.c')
-rw-r--r--mpz/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/init.c b/mpz/init.c
index 09df9df5c..3a1ca312a 100644
--- a/mpz/init.c
+++ b/mpz/init.c
@@ -35,7 +35,7 @@ void
mpz_init (mpz_ptr x)
{
ALLOC (x) = 1;
- PTR (x) = (mp_ptr) (*__gmp_allocate_func) (GMP_LIMB_BYTES);
+ PTR (x) = __GMP_ALLOCATE_FUNC_LIMBS (1);
SIZ (x) = 0;
#ifdef __CHECKER__