diff options
author | Torbjorn Granlund <torbjorng@google.com> | 2015-09-08 18:22:27 +0200 |
---|---|---|
committer | Torbjorn Granlund <torbjorng@google.com> | 2015-09-08 18:22:27 +0200 |
commit | bd5cfb2912e4653c76e22cefb1b55c45414f2507 (patch) | |
tree | 19e64e2ca2346942b220ca35cd2871a4175c1d5b /mpz/init.c | |
parent | 079be863b8e05c8a345d886cbca10d897e2a287f (diff) | |
download | gmp-bd5cfb2912e4653c76e22cefb1b55c45414f2507.tar.gz |
Wrap remaining limb allocations in __GMP_ALLOCATE_FUNC_LIMBS.
Diffstat (limited to 'mpz/init.c')
-rw-r--r-- | mpz/init.c | 2 |
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__ |