diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-01-12 17:39:15 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-01-12 17:39:15 +0000 |
commit | 81837c4e5ce6b859c1dda4bcb707e4c4783d83cb (patch) | |
tree | f18890673568828f5dcf921e53fb6ec2a9d9a032 /tests/tfmma.c | |
parent | 81c08dc29463e89bb587c8e0d62ec8b4535e7da3 (diff) | |
download | mpfr-81837c4e5ce6b859c1dda4bcb707e4c4783d83cb.tar.gz |
[tests/tfmma.c] Fixed type in printf.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9799 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfmma.c')
-rw-r--r-- | tests/tfmma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tfmma.c b/tests/tfmma.c index 1bcc50347..33a2d884f 100644 --- a/tests/tfmma.c +++ b/tests/tfmma.c @@ -42,7 +42,7 @@ random_test (mpfr_t a, mpfr_t b, mpfr_t c, mpfr_t d, mpfr_rnd_t rnd) inex_ref = mpfr_add (ref, ab, cd, rnd); if (inex_res != inex_ref) { - printf ("mpfr_fmma failed for p=%u rnd=%d\n", p, rnd); + printf ("mpfr_fmma failed for p=%ld rnd=%d\n", (long int) p, rnd); printf ("a="); mpfr_dump (a); printf ("b="); mpfr_dump (b); printf ("c="); mpfr_dump (c); @@ -62,7 +62,7 @@ random_test (mpfr_t a, mpfr_t b, mpfr_t c, mpfr_t d, mpfr_rnd_t rnd) inex_ref = mpfr_sub (ref, ab, cd, rnd); if (inex_res != inex_ref) { - printf ("mpfr_fmms failed for p=%u rnd=%d\n", p, rnd); + printf ("mpfr_fmms failed for p=%ld rnd=%d\n", (long int) p, rnd); printf ("a="); mpfr_dump (a); printf ("b="); mpfr_dump (b); printf ("c="); mpfr_dump (c); |