]> git.ipfire.org Git - ipfire-3.x.git/blame - compat-gmp/patches/gmp-fix-tscan.patch0
gmp: Update to 6.0.0 and new compat-gmp package.
[ipfire-3.x.git] / compat-gmp / patches / gmp-fix-tscan.patch0
CommitLineData
bef9b7be
MT
1https://gmplib.org/list-archives/gmp-bugs/2011-October/002417.html
2
3--- tests/mpz/t-scan.c 2011-05-08 11:49:29.000000000 +0200
4+++ tests/mpz/t-scan.c 2011-10-10 16:37:13.657829003 +0200
5@@ -79,7 +79,7 @@
6
7 for (isize = 0; isize <= size; isize++)
8 {
9- for (oindex = 0; oindex <= numberof (offset); oindex++)
10+ for (oindex = 0; oindex < numberof (offset); oindex++)
11 {
12 o = offset[oindex];
13 if ((int) isize*GMP_NUMB_BITS < -o)