summaryrefslogtreecommitdiff
path: root/mpz/iset_d.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2014-01-19 13:25:03 +0100
committerTorbjorn Granlund <tege@gmplib.org>2014-01-19 13:25:03 +0100
commit5c972901ec4cca2668d9b294077540200f403e69 (patch)
treef41afbe38095935c886ba0a401b45c7d35cb8e44 /mpz/iset_d.c
parentbead3dcb5969491d6aee692ac7bc8d30b2e27521 (diff)
downloadgmp-5c972901ec4cca2668d9b294077540200f403e69.tar.gz
Get rid of BYTES_PER_MP_LIMB, most files affected.
Diffstat (limited to 'mpz/iset_d.c')
-rw-r--r--mpz/iset_d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/iset_d.c b/mpz/iset_d.c
index 580518ad7..ddba65b8b 100644
--- a/mpz/iset_d.c
+++ b/mpz/iset_d.c
@@ -25,7 +25,7 @@ void
mpz_init_set_d (mpz_ptr dest, double val)
{
ALLOC (dest) = 1;
- PTR (dest) = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB);
+ PTR (dest) = (mp_ptr) (*__gmp_allocate_func) (GMP_LIMB_BYTES);
SIZ (dest) = 0;
mpz_set_d (dest, val);
}