Changeset 10990
- Timestamp:
- Jul 10, 2010, 9:30:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r10937 r10990 1184 1184 const uint64_t b = isSeed ? tor->info.files[i].length : fileBytesCompleted( tor, i ); 1185 1185 walk->bytesCompleted = b; 1186 walk->progress = tor->info.files[i].length > 0 ? ( b / tor->info.files[i].length ) : 1.0;1186 walk->progress = tor->info.files[i].length > 0 ? ( (float)b / tor->info.files[i].length ) : 1.0f; 1187 1187 } 1188 1188
Note: See TracChangeset
for help on using the changeset viewer.