Changeset 9839
- Timestamp:
- Dec 29, 2009, 1:35:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r9820 r9839 1126 1126 const uint64_t b = isSeed ? tor->info.files[i].length : fileBytesCompleted( tor, i ); 1127 1127 walk->bytesCompleted = b; 1128 walk->progress = tor->info.files[i].length > 0.0 ? ( b / tor->info.files[i].length ) : 1.0;1128 walk->progress = tor->info.files[i].length > 0.0 ? ( (float)b / tor->info.files[i].length ) : 1.0; 1129 1129 } 1130 1130
Note: See TracChangeset
for help on using the changeset viewer.