diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-08-25 17:22:30 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-08-25 17:22:30 +0000 |
commit | 3a8368f60cd44692281afb725213778aa27d88c2 (patch) | |
tree | 3373f378901269bcabeab22cd9c0b85fdb15a070 | |
parent | a4b6f5d71af2c94f2e0d74ceb400938f5666bf5a (diff) | |
download | mpfr-3a8368f60cd44692281afb725213778aa27d88c2.tar.gz |
[tests/tstdint.c] Support MPFR_PRINTF_MAXLM.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9663 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/tstdint.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/tstdint.c b/tests/tstdint.c index 4ef16de40..3773b0202 100644 --- a/tests/tstdint.c +++ b/tests/tstdint.c @@ -53,7 +53,11 @@ main (void) mpfr_clear (x); if (j != 1) { - printf ("Error: got %jd instead of 1.\n", j); +#ifdef MPFR_PRINTF_MAXLM + printf ("Error: got %" MPFR_PRINTF_MAXLM "d instead of 1.\n", j); +#else + printf ("Error: did not get 1.\n"); +#endif exit (1); } |