summaryrefslogtreecommitdiff
path: root/tests/tabs.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-25 15:17:34 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-25 15:17:34 +0000
commit40bd7474715845794402899d545dc4058ee4e335 (patch)
tree059746dc05a129de3a5460bbab704111cd537466 /tests/tabs.c
parente7998bad677c4e2ed4c560f1876591505b93b209 (diff)
downloadmpfr-40bd7474715845794402899d545dc4058ee4e335.tar.gz
C++ compatibility.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10521 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tabs.c')
-rw-r--r--tests/tabs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tabs.c b/tests/tabs.c
index 0e6e208d0..60850c238 100644
--- a/tests/tabs.c
+++ b/tests/tabs.c
@@ -62,7 +62,8 @@ check_inexact (void)
((inexact < 0) && (cmp >= 0)))
{
printf ("Wrong inexact flag for %s: expected %d, got %d\n",
- mpfr_print_rnd_mode (rnd), cmp, inexact);
+ mpfr_print_rnd_mode ((mpfr_rnd_t) rnd), cmp,
+ inexact);
printf ("x="); mpfr_dump (x);
printf ("absx="); mpfr_dump (absx);
printf ("y="); mpfr_dump (y);