Skip to content

Commit

Permalink
fixed signed/unsigned warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnSeidel committed Mar 14, 2020
1 parent 20594f2 commit a17e647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assembler/assembleresult.cpp
Expand Up @@ -223,7 +223,7 @@ int doassembly(LocalParameters &par) {
unsigned int dbEndPos = besttHitToExtend.dbEndPos; unsigned int dbEndPos = besttHitToExtend.dbEndPos;
unsigned int qStartPos = besttHitToExtend.qStartPos; unsigned int qStartPos = besttHitToExtend.qStartPos;
unsigned int qEndPos = besttHitToExtend.qEndPos; unsigned int qEndPos = besttHitToExtend.qEndPos;
if (dbStartPos == 0 && qEndPos == (static_cast<int>(querySeqLen) - 1)) { if (dbStartPos == 0 && qEndPos == (querySeqLen - 1)) {
//right extension //right extension


if(rightQueryOffset > 0) { if(rightQueryOffset > 0) {
Expand All @@ -247,7 +247,7 @@ int doassembly(LocalParameters &par) {
__sync_or_and_fetch(&wasExtended[targetId], static_cast<unsigned char>(0x80)); __sync_or_and_fetch(&wasExtended[targetId], static_cast<unsigned char>(0x80));


} }
else if (qStartPos == 0 && dbEndPos == (static_cast<int>(targetSeqLen) - 1)) { else if (qStartPos == 0 && dbEndPos == (targetSeqLen - 1)) {
//left extension //left extension


if(leftQueryOffset > 0) { if(leftQueryOffset > 0) {
Expand Down

0 comments on commit a17e647

Please sign in to comment.