summaryrefslogtreecommitdiff
path: root/gen-fib.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-04-07 01:11:34 +0200
committerKevin Ryde <user42@zip.com.au>2004-04-07 01:11:34 +0200
commit896af27d81c154d60028e80c73012c70a4f289e4 (patch)
tree28478f0222fce8bda6fc91f2fc7c6e4a84151e1d /gen-fib.c
parentfa9b224233acb38085d84f4b2b2d03279f39424f (diff)
downloadgmp-896af27d81c154d60028e80c73012c70a4f289e4.tar.gz
* gen-bases.c, gen-fib.c, gen-psqr.c: For mpz_out_str, use stdout
instead of 0, in case a K&R treats int and FILE* params differently.
Diffstat (limited to 'gen-fib.c')
-rw-r--r--gen-fib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen-fib.c b/gen-fib.c
index cf159fe72..c7d595a73 100644
--- a/gen-fib.c
+++ b/gen-fib.c
@@ -1,6 +1,6 @@
/* Generate Fibonacci table data.
-Copyright 2001, 2002 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -101,7 +101,7 @@ table (int numb_bits)
for (i = 0; i < fnum; i++)
{
printf (" CNST_LIMB (0x");
- mpz_out_str (0, 16, f[i]);
+ mpz_out_str (stdout, 16, f[i]);
printf ("), /* %d */\n", i-1);
}
printf ("};\n");