aboutsummaryrefslogtreecommitdiff
path: root/src/varcov.cpp
diff options
context:
space:
mode:
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++;