Changeset 6794 for branches/refactor/ISLAND_HOPPING/align.cxx
- Timestamp:
- 07/09/10 14:32:07 (21 months ago)
- Files:
-
- 1 moved
-
branches/refactor/ISLAND_HOPPING/align.cxx (moved) (moved from branches/refactor/ISLAND_HOPPING/align.c) (4 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/refactor/ISLAND_HOPPING/align.cxx
r6516 r6794 322 322 Island *p; Fragment *f,**ff,*L; int k,ii,jj,iii,jjj,l; double s; 323 323 324 p= newBlock(sizeof(Island));324 p=(Island*)newBlock(sizeof(Island)); 325 325 326 326 ii=i; jj=j; l=0; s=0.; … … 333 333 k=U[ii][jj].up; 334 334 if(k) { 335 f= newBlock(sizeof(Fragment));335 f=(Fragment*)newBlock(sizeof(Fragment)); 336 336 f->beginX=iii; f->beginY=jjj; f->length=l; 337 337 l=0; *ff=f; ff=&f->next; … … 351 351 k=U[ii][jj].down; 352 352 if(k) { 353 f= newBlock(sizeof(Fragment));353 f=(Fragment*)newBlock(sizeof(Fragment)); 354 354 f->beginX=iii-l+1; f->beginY=jjj-l+1; f->length=l; 355 355 l=0; f->next=L; L=f; … … 805 805 int i,j,maxlen; 806 806 807 *XX = newBlock((nX+nY+1)*sizeof(char));808 *YY = newBlock((nX+nY+1)*sizeof(char));807 *XX = (char*)newBlock((nX+nY+1)*sizeof(char)); 808 *YY = (char*)newBlock((nX+nY+1)*sizeof(char)); 809 809 810 810 Supp=supp;
