freebsd-ports/biology/ssaha/files/patch-GlobalDefinitions.cpp
Felippe de Meirelles Motta 702ce22305 SSAHA is a software tool for very fast matching and alignment of DNA
sequences. It stands for Sequence Search and Alignment by Hashing
Algorithm. It achieves its fast search speed by converting sequence
information into a `hash table' data structure, which can then be
searched very rapidly for matches.

WWW: http://www.sanger.ac.uk/Software/analysis/SSAHA/

PR:		ports/124525
Submitted by:	Fernan Aguero <fernan@iib.unsam.edu.ar>
Approved by:	gabor (mentor, implicit)
2008-06-21 00:01:57 +00:00

11 lines
568 B
C++

--- ./Global/GlobalDefinitions.cpp.orig 2004-03-01 13:51:28.000000000 -0300
+++ ./Global/GlobalDefinitions.cpp 2008-06-12 15:39:31.000000000 -0300
@@ -119,7 +119,7 @@
MakeIntoWord::MakeIntoWord( int bitsPerSymbol, const char* tt ):
bitsPerSymbol_( bitsPerSymbol ), tt_( tt )
{
- for ( unsigned int i(0) ; i < (1<<bitsPerSymbol_) ; ++i )
+ for ( unsigned int i(0) ; i < ( unsigned int )(1<<bitsPerSymbol_) ; ++i )
{
map_.insert( make_pair( (static_cast<char>(tolower(tt[i]))),i ) );
map_.insert( make_pair( (static_cast<char>(toupper(tt[i]))),i ) );