[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Fri Jan 18 11:11:44 CET 2013
details: /var/hg/gmp/rev/c1beee8bd397
changeset: 15289:c1beee8bd397
user: Torbjorn Granlund <tege at gmplib.org>
date: Fri Jan 18 10:44:27 2013 +0100
description:
(TESTS_REPS): Fix printf argument type clashes.
details: /var/hg/gmp/rev/98225d7857b8
changeset: 15290:98225d7857b8
user: Torbjorn Granlund <tege at gmplib.org>
date: Fri Jan 18 10:44:43 2013 +0100
description:
ChangeLog
diffstat:
ChangeLog | 4 ++++
tests/tests.h | 5 +++--
2 files changed, 7 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r eee6b8e54765 -r 98225d7857b8 ChangeLog
--- a/ChangeLog Wed Jan 16 19:50:47 2013 +0100
+++ b/ChangeLog Fri Jan 18 10:44:43 2013 +0100
@@ -1,3 +1,7 @@
+2013-01-18 Torbjorn Granlund <tege at gmplib.org>
+
+ * tests/tests.h (TESTS_REPS): Fix printf argument type clashes.
+
2013-01-16 Marco Bodrato <bodrato at mail.dm.unipi.it>
* mini-gmp/tests/t-double.c: Test mpz_cmp_d.
diff -r eee6b8e54765 -r 98225d7857b8 tests/tests.h
--- a/tests/tests.h Wed Jan 16 19:50:47 2013 +0100
+++ b/tests/tests.h Fri Jan 18 10:44:43 2013 +0100
@@ -427,14 +427,15 @@
repfactor = strtod (envval, &end); \
if (*end || repfactor <= 0) \
{ \
- fprintf (stderr, "Invalid repfactor: %ld.\n", repfactor); \
+ fprintf (stderr, "Invalid repfactor: %f.\n", repfactor); \
exit (1); \
} \
count *= repfactor; \
reps_nondefault = 1; \
} \
if (reps_nondefault) \
- printf ("Running test with %ld repetitions (include this in bug reports)\n", count); \
+ printf ("Running test with %ld repetitions (include this in bug reports)\n",\
+ (long) count); \
} while (0)
More information about the gmp-commit
mailing list