diff options
author | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-09 22:48:18 +0000 |
---|---|---|
committer | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-09 22:48:18 +0000 |
commit | 674e99596457dcafd4ddd10a7660ad893cb18772 (patch) | |
tree | abc668ca7c2cb8eb031995f4fd6b88d026cdc12c /tests/tset_si.c | |
parent | 8a6c5d3a53a2ea00254a54d7723667bcdd124727 (diff) | |
download | mpfr-674e99596457dcafd4ddd10a7660ad893cb18772.tar.gz |
Patch by Torbjorn: use puts not putchar, to avoid GNUPro compiler bug.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2317 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_si.c')
-rw-r--r-- | tests/tset_si.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tset_si.c b/tests/tset_si.c index 8a0c62a7a..36771751c 100644 --- a/tests/tset_si.c +++ b/tests/tset_si.c @@ -97,7 +97,7 @@ main (int argc, char *argv[]) || inex >= 0) { fprintf(stderr, "Error in mpfr_set_si(x:3, 77617, GMP_RNDD)\n"); - mpfr_print_binary(x); putchar('\n'); + mpfr_print_binary(x); puts (""); exit(1); } inex = mpfr_set_ui(x, 77617, GMP_RNDD); /* should be 65536 */ @@ -105,7 +105,7 @@ main (int argc, char *argv[]) || inex >= 0) { fprintf(stderr, "Error in mpfr_set_ui(x:3, 77617, GMP_RNDD)\n"); - mpfr_print_binary(x); putchar('\n'); + mpfr_print_binary(x); puts (""); exit(1); } |