diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-07-06 23:32:19 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-07-06 23:32:19 +0000 |
commit | d3c53293d4733e7fac5434c2492701b923b62cc8 (patch) | |
tree | 0238457160657563bedf960b38d57e0db7247ade /tests/tadd.c | |
parent | 31a87b5a61d738e86fad424751350255a00b4ce5 (diff) | |
download | mpfr-d3c53293d4733e7fac5434c2492701b923b62cc8.tar.gz |
[tests/tadd.c] C++ compatibility.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10589 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tadd.c')
-rw-r--r-- | tests/tadd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tadd.c b/tests/tadd.c index dcb62a3f8..d59dab5d3 100644 --- a/tests/tadd.c +++ b/tests/tadd.c @@ -651,7 +651,7 @@ check_overflow (void) if (!mpfr_overflow_p () || (up && !mpfr_inf_p (a))) { printf ("No overflow (1) in check_overflow for rnd=%s\n", - mpfr_print_rnd_mode (r)); + mpfr_print_rnd_mode ((mpfr_rnd_t) r)); printf ("b="); mpfr_dump (b); printf ("c="); mpfr_dump (c); printf ("a="); mpfr_dump (a); @@ -671,7 +671,7 @@ check_overflow (void) if (!mpfr_overflow_p () || !mpfr_inf_p (a)) { printf ("No overflow (2) in check_overflow for rnd=%s\n", - mpfr_print_rnd_mode (r)); + mpfr_print_rnd_mode ((mpfr_rnd_t) r)); printf ("b="); mpfr_dump (b); printf ("c="); mpfr_dump (c); printf ("a="); mpfr_dump (a); |