r380: er... another compiling error

This commit is contained in:
Heng Li 2013-04-19 12:04:44 -04:00
parent f0c94d80d1
commit db7a98636f
2 changed files with 2 additions and 2 deletions

2
ksw.c
View File

@ -303,7 +303,7 @@ end_loop8:
} }
r.score = gmax; r.te = te; r.score = gmax; r.te = te;
{ {
int max = -1, low, high, qlen = slen * 8; int max = -1, tmp, low, high, qlen = slen * 8;
uint16_t *t = (uint16_t*)Hmax; uint16_t *t = (uint16_t*)Hmax;
for (i = 0, r.qe = -1; i < qlen; ++i, ++t) for (i = 0, r.qe = -1; i < qlen; ++i, ++t)
if ((int)*t > max) max = *t, r.qe = i / 8 + i % 8 * slen; if ((int)*t > max) max = *t, r.qe = i / 8 + i % 8 * slen;

2
main.c
View File

@ -3,7 +3,7 @@
#include "utils.h" #include "utils.h"
#ifndef PACKAGE_VERSION #ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "0.7.3-r379-beta" #define PACKAGE_VERSION "0.7.3-r380-beta"
#endif #endif
int bwa_fa2pac(int argc, char *argv[]); int bwa_fa2pac(int argc, char *argv[]);