summaryrefslogtreecommitdiff
path: root/tests/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.c')
-rw-r--r--tests/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.c b/tests/tests.c
index d2c20eceb..c0d599ef4 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -334,7 +334,7 @@ randlimb (void)
{
mp_limb_t limb;
- mpfr_rand_raw (&limb, RANDS, BITS_PER_MP_LIMB);
+ mpfr_rand_raw (&limb, RANDS, GMP_LIMB_BITS);
return limb;
}