aboutsummaryrefslogtreecommitdiff
path: root/src/varcov.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-11-22 11:36:12 +0000
committerPjotr Prins2017-11-22 11:36:12 +0000
commitbffa286fe97708586834838f72d9abfaeca1fe25 (patch)
tree7d0e9811a254b5a268028762fda2d89fc9d8e77f /src/varcov.cpp
parent385dd86c0d58cdba4eefd4e39694ee47ff3ab3e6 (diff)
downloadpangemma-bffa286fe97708586834838f72d9abfaeca1fe25.tar.gz
Remove compiler warnings
Diffstat (limited to 'src/varcov.cpp')
-rw-r--r--src/varcov.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/varcov.cpp b/src/varcov.cpp
index 39c3523..e9c7295 100644
--- a/src/varcov.cpp
+++ b/src/varcov.cpp
@@ -198,7 +198,7 @@ void VARCOV::CalcNB(vector<SNPINFO> &snpInfo_sort) {
(snpInfo_sort[t2].cM - snpInfo_sort[t].cM < window_cm ||
window_cm == 0) &&
(snpInfo_sort[t2].base_position - snpInfo_sort[t].base_position <
- window_bp ||
+ (long int) window_bp ||
window_bp == 0) &&
(n_nb < window_ns || window_ns == 0)) {
t2++;