File: gcc-14.patch

package info (click to toggle)
pbseqlib 5.3.5%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,148 kB
  • sloc: cpp: 77,259; python: 331; sh: 103; makefile: 41
file content (11 lines) | stat: -rw-r--r-- 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- 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.