[Gmp-commit] /var/hg/gmp: tests/mpz/t-powm.c (allsizes_seen): Require unsigned*.

mercurial at gmplib.org mercurial at gmplib.org
Sun Mar 4 11:27:54 CET 2012


details:   /var/hg/gmp/rev/7c3a4a2d0d0b
changeset: 14728:7c3a4a2d0d0b
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Sun Mar 04 11:26:53 2012 +0100
description:
tests/mpz/t-powm.c (allsizes_seen): Require unsigned*.

diffstat:

 ChangeLog          |  2 ++
 tests/mpz/t-powm.c |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 22ba3bcf0d66 -r 7c3a4a2d0d0b ChangeLog
--- a/ChangeLog	Sun Mar 04 09:01:32 2012 +0100
+++ b/ChangeLog	Sun Mar 04 11:26:53 2012 +0100
@@ -8,6 +8,8 @@
 	(__GMP_HAVE_TOKEN_PASTE, __GMP_HAVE_CONST): Remove.
 	* gmp-impl.h: Strip __GMP_HAVE_TOKEN_PASTE and __GMP_HAVE_CONST.
 
+	* tests/mpz/t-powm.c (allsizes_seen): Require unsigned*.
+
 2012-03-03  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/x86_64/k8/gmp-mparam.h: New file.
diff -r 22ba3bcf0d66 -r 7c3a4a2d0d0b tests/mpz/t-powm.c
--- a/tests/mpz/t-powm.c	Sun Mar 04 09:01:32 2012 +0100
+++ b/tests/mpz/t-powm.c	Sun Mar 04 11:26:53 2012 +0100
@@ -33,7 +33,7 @@
 /* Check that all sizes up to just above MUL_TOOM22_THRESHOLD have been tested
    a few times.  FIXME: If SIZEM is set too low, this will never happen.  */
 int
-allsizes_seen (int *allsizes)
+allsizes_seen (unsigned int *allsizes)
 {
   mp_size_t i;
 


More information about the gmp-commit mailing list