r770: fixed a compiling warning

This commit is contained in:
Heng Li 2014-05-14 14:44:03 -04:00
parent 8f3e7d573b
commit 8d2986ece2
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ bwtl_t *bwtl_seq2bwtl(int len, const uint8_t *seq)
{ // calculate b->bwt
uint8_t *s;
b->sa = (uint32_t*)calloc(len + 1, 4);
is_sa(seq, b->sa, len);
is_sa(seq, (int*)b->sa, len);
s = (uint8_t*)calloc(len + 1, 1);
for (i = 0; i <= len; ++i) {
if (b->sa[i] == 0) b->primary = i;

2
main.c
View File

@ -4,7 +4,7 @@
#include "utils.h"
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "0.7.8-r766-dirty"
#define PACKAGE_VERSION "0.7.8-r770-dirty"
#endif
int bwa_fa2pac(int argc, char *argv[]);