1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Potential fix for gcc-14
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2024-12-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/alignment/algorithms/anchoring/FindMaxIntervalImpl.hpp
+++ b/alignment/algorithms/anchoring/FindMaxIntervalImpl.hpp
@@ -137,7 +137,7 @@
{
int m;
int n;
- for (m = int(matchList.size()); m > 0; m--) {
+ for (m = int(matchList.size()) - 1; m > 0; m--) {
n = m - 1;
//
// Skip past repeats in the query.
|