r110: fixed a bug caused by refactoring

This commit is contained in:
Heng Li 2017-06-29 21:12:31 -04:00
parent 08cbb09fcc
commit e2b86d0332
2 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ mm_reg1_t *mm_align_skeleton(void *km, const mm_mapopt_t *opt, const mm_idx_t *m
else if (i < r) regs[i++] = regs[r]; // NB: this also move the regs[r].p pointer
else ++i;
}
*n_regs_ = n_regs;
*n_regs_ = i;
mm_sync_regs(km, n_regs, regs);
return regs;
}

2
main.c
View File

@ -10,7 +10,7 @@
#include "minimap.h"
#include "mmpriv.h"
#define MM_VERSION "2.0-r109-pre"
#define MM_VERSION "2.0-r110-pre"
void liftrlimit()
{