File 0001-Fix-bug-in-t-scan-test.patch of Package mpir

From cd371dfbaca8a73806e7e304fdb18ad5866c15cc Mon Sep 17 00:00:00 2001
From: Jean-Pierre Flori <jean-pierre.flori@ssi.gouv.fr>
Date: Tue, 30 Jul 2013 22:53:35 +0200
Subject: [PATCH] Fix bug in t-scan test.

Reported by Daniel R. Grayson and fixed by Leif Leonhardy.
---
 tests/mpz/t-scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/mpz/t-scan.c b/tests/mpz/t-scan.c
index a52c011..7bcd26d 100644
--- a/tests/mpz/t-scan.c
+++ b/tests/mpz/t-scan.c
@@ -84,7 +84,7 @@ check_ref (void)
 
               for (isize = 0; isize <= size; isize++)
                 {
-                  for (oindex = 0; oindex <= numberof (offset); oindex++)
+                  for (oindex = 0; oindex < numberof (offset); oindex++)
                     {
                       o = offset[oindex];
                       if ((int) isize*GMP_NUMB_BITS < -o)
-- 
1.8.4.5