Skip to content

Commit

Permalink
Fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
jasn committed Jun 12, 2014
1 parent 4b4d16c commit 9131b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/overlap-analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ double computeNormFactor(ll *spa1, ll *spa2, size_t j, size_t a1Size, size_t a2S
// still using left samples.
ll a1End = spa1[a1Size-2];
ll a1Start = 0;
if (a1Size-j-4 >= 0) {
if (static_cast<int64_t>(a1Size)-static_cast<int64_t>(j)-4 >= 0) {
a1Start = spa1[a1Size-j-4];
}

Expand Down

0 comments on commit 9131b7a

Please sign in to comment.