--- tests/mpz/t-scan.c.orig 2012-10-03 14:07:32.000000000 -0600
+++ tests/mpz/t-scan.c 2013-02-22 16:30:18.202499593 -0700
@@ -84,7 +84,7 @@
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)