diff options
author | Kevin Ryde <user42@zip.com.au> | 2004-04-07 01:11:34 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2004-04-07 01:11:34 +0200 |
commit | 896af27d81c154d60028e80c73012c70a4f289e4 (patch) | |
tree | 28478f0222fce8bda6fc91f2fc7c6e4a84151e1d /gen-fib.c | |
parent | fa9b224233acb38085d84f4b2b2d03279f39424f (diff) | |
download | gmp-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |