1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

throwing darts in the dark. this smells like a compiler bug.

This commit is contained in:
Charles Kerr 2009-10-30 17:29:51 +00:00
parent 8bdaedc723
commit 632f98c8fd

View file

@ -1090,7 +1090,8 @@ fprintf( stderr, "looping on the rest of the first piece\n" );
fprintf( stderr, "firstBlock is %"PRIu64"\n", (uint64_t)firstBlock ); fprintf( stderr, "firstBlock is %"PRIu64"\n", (uint64_t)firstBlock );
fprintf( stderr, "lastBlock is %"PRIu64"\n", (uint64_t)lastBlock ); fprintf( stderr, "lastBlock is %"PRIu64"\n", (uint64_t)lastBlock );
fprintf( stderr, "lastBlockOfFirstPiece is %"PRIu64"\n", (uint64_t)lastBlockOfFirstPiece ); fprintf( stderr, "lastBlockOfFirstPiece is %"PRIu64"\n", (uint64_t)lastBlockOfFirstPiece );
for( i=firstBlock+1; i<lastBlock && i<=lastBlockOfFirstPiece; ++i ) { //for( i=firstBlock+1; i<lastBlock && i<=lastBlockOfFirstPiece; ++i ) {
for( i=firstBlock+1; i<lastBlock && i<=lastBlockOfFirstPiece; i++ ) {
fprintf( stderr, "looping on i(1): %"PRIu64"\n", i ); fprintf( stderr, "looping on i(1): %"PRIu64"\n", i );
if( tr_cpBlockIsCompleteFast( &tor->completion, i ) ) { if( tr_cpBlockIsCompleteFast( &tor->completion, i ) ) {
++b; ++b;