summaryrefslogtreecommitdiff
path: root/tests/tsqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r--tests/tsqrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index 5eb53312b..2ed51d6d5 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -424,7 +424,7 @@ check_inexact (mp_prec_t p)
mpfr_init2 (y, p);
mpfr_init2 (z, 2*p);
mpfr_random (x);
- rnd = (mp_rnd_t) RND_RAND();
+ rnd = RND_RAND ();
inexact = test_sqrt (y, x, rnd);
if (mpfr_mul (z, y, y, rnd)) /* exact since prec(z) = 2*prec(y) */
{