Skip to content

Commit e202b6f

Browse files
format-reads.cpp: matching types to suppress compiler warning.
1 parent 28eb3a3 commit e202b6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/format-reads.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ using std::vector;
5757

5858
using bamxx::bam_rec;
5959

60-
static size_t
60+
static int32_t
6161
merge_mates(const size_t range, bam_rec &one, bam_rec &two, bam_rec &merged) {
62-
if (!are_mates(one, two)) return -std::numeric_limits<int>::max();
62+
if (!are_mates(one, two)) return -std::numeric_limits<int32_t>::max();
6363

6464
// arithmetic easier using base 0 so subtracting 1 from pos
6565
const int one_s = get_pos(one);

0 commit comments

Comments
 (0)