diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 13:25:03 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 13:25:03 +0100 |
commit | 5c972901ec4cca2668d9b294077540200f403e69 (patch) | |
tree | f41afbe38095935c886ba0a401b45c7d35cb8e44 /mpf/iset_ui.c | |
parent | bead3dcb5969491d6aee692ac7bc8d30b2e27521 (diff) | |
download | gmp-5c972901ec4cca2668d9b294077540200f403e69.tar.gz |
Get rid of BYTES_PER_MP_LIMB, most files affected.
Diffstat (limited to 'mpf/iset_ui.c')
-rw-r--r-- | mpf/iset_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/iset_ui.c b/mpf/iset_ui.c index c35db53c7..82715162a 100644 --- a/mpf/iset_ui.c +++ b/mpf/iset_ui.c @@ -27,7 +27,7 @@ mpf_init_set_ui (mpf_ptr r, unsigned long int val) mp_size_t size; r->_mp_prec = prec; - r->_mp_d = (mp_ptr) (*__gmp_allocate_func) ((size_t) (prec + 1) * BYTES_PER_MP_LIMB); + r->_mp_d = (mp_ptr) (*__gmp_allocate_func) ((size_t) (prec + 1) * GMP_LIMB_BYTES); r->_mp_d[0] = val & GMP_NUMB_MASK; size = (val != 0); |