a8m / pb

Console progress bar for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time remaining calculation overflows

sfackler opened this issue · comments

The calculation of time remaining casts the remaining count to an i32, which will not work if the overall task involves more than 2^31 values - for example, if transferring more than 2 GB of data.

Hello @sfackler, thank you for taking the time to report this issue.
This is definitely an issue that should be fixed. would you like to make a PR with the fix?