summaryrefslogtreecommitdiff
path: root/mpz/out_str.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-11-28 12:57:53 +0100
committerTorbjorn Granlund <tege@gmplib.org>2009-11-28 12:57:53 +0100
commit4fab69d02817734bc7e21e6c3f61bd3098b3b394 (patch)
tree0a43f3246a49a0a04fba10900dcea1868c208578 /mpz/out_str.c
parent2c639d5f1b78f47267eecfca5396a0eabc7ea5e9 (diff)
downloadgmp-4fab69d02817734bc7e21e6c3f61bd3098b3b394.tar.gz
Finish renaming BITS_PER_MP_LIMB to GMP_LIMB_BITS.
Diffstat (limited to 'mpz/out_str.c')
-rw-r--r--mpz/out_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/out_str.c b/mpz/out_str.c
index fbb7624fc..29da7e9bf 100644
--- a/mpz/out_str.c
+++ b/mpz/out_str.c
@@ -71,7 +71,7 @@ mpz_out_str (FILE *stream, int base, mpz_srcptr x)
}
TMP_MARK;
- str_size = ((size_t) (x_size * BITS_PER_MP_LIMB
+ str_size = ((size_t) (x_size * GMP_LIMB_BITS
* mp_bases[base].chars_per_bit_exactly)) + 3;
str = (unsigned char *) TMP_ALLOC (str_size);