File: gcc-14.patch

package info (click to toggle)
pbseqlib 5.3.5%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,152 kB
  • sloc: cpp: 77,259; python: 331; sh: 103; makefile: 41
file content (16 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (2)
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.