From 8d7dc341501575f15eca0071f6435ed737fcca48 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Sat, 12 Nov 2011 16:58:38 -0500 Subject: [PATCH] the same bug fixed by John Marshall --- bwape.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bwape.c b/bwape.c index 33365380..c0cc9186 100644 --- a/bwape.c +++ b/bwape.c @@ -341,7 +341,8 @@ int bwa_cal_pac_pos_pe(const char *prefix, bwt_t *const _bwt[2], int n_seqs, bwa && (p[1]->type == BWA_TYPE_UNIQUE || p[1]->type == BWA_TYPE_REPEAT)) { // only when both ends mapped uint64_t x; - int j, k, n_occ[2]; + int j, k; + long long n_occ[2]; for (j = 0; j < 2; ++j) { n_occ[j] = 0; for (k = 0; k < d->aln[j].n; ++k)