summaryrefslogtreecommitdiff
path: root/mpz/iset_str.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_str.c
parentbead3dcb5969491d6aee692ac7bc8d30b2e27521 (diff)
downloadgmp-5c972901ec4cca2668d9b294077540200f403e69.tar.gz
Get rid of BYTES_PER_MP_LIMB, most files affected.
Diffstat (limited to 'mpz/iset_str.c')
-rw-r--r--mpz/iset_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/iset_str.c b/mpz/iset_str.c
index 5b2908062..5140f5359 100644
--- a/mpz/iset_str.c
+++ b/mpz/iset_str.c
@@ -29,7 +29,7 @@ int
mpz_init_set_str (mpz_ptr x, const char *str, int base)
{
ALLOC (x) = 1;
- PTR (x) = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB);
+ PTR (x) = (mp_ptr) (*__gmp_allocate_func) (GMP_LIMB_BYTES);
/* if str has no digits mpz_set_str leaves x->_mp_size unset */
SIZ (x) = 0;