mirror of
https://github.com/transmission/transmission
synced 2025-01-20 05:49:11 +00:00
fix: mixed enumerated and non-enumerated warning
This commit is contained in:
parent
ecb5036074
commit
a61f3aabc4
1 changed files with 1 additions and 1 deletions
|
@ -1362,7 +1362,7 @@ tr_stat tr_torrent::stats() const
|
|||
|
||||
if (seed_ratio_applies)
|
||||
{
|
||||
stats.eta = eta_speed_byps == 0U ? TR_ETA_UNKNOWN : seed_ratio_bytes_left / eta_speed_byps;
|
||||
stats.eta = eta_speed_byps == 0U ? static_cast<time_t>(TR_ETA_UNKNOWN) : seed_ratio_bytes_left / eta_speed_byps;
|
||||
}
|
||||
|
||||
if (eta_speed_byps < 1U)
|
||||
|
|
Loading…
Reference in a new issue