summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-03 13:28:45 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-03 13:28:45 +0000
commit7309f2c16032efafedaaa22dbf2b6a0a396d0876 (patch)
treec5bf318a4ec7adb533f18f132d88538da8915b54
parent6344605a1d9860deeedea9773081173351fa82ce (diff)
downloadmpfr-7309f2c16032efafedaaa22dbf2b6a0a396d0876.tar.gz
[tests/tfmma.c] Forgot a cast to mpfr_rnd_t for C++ compatibility.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10422 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/tfmma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tfmma.c b/tests/tfmma.c
index 8939fa0f0..c45995a57 100644
--- a/tests/tfmma.c
+++ b/tests/tfmma.c
@@ -393,7 +393,7 @@ half_plus_half (void)
if (! (flags == 0 && inex == 0 && mpfr_equal_p (y, x2)))
{
printf ("Error in half_plus_half for %s\n",
- mpfr_print_rnd_mode (r));
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r));
printf ("Expected ");
mpfr_dump (x2);
printf (" with inex = 0, flags =");