blob: 7eecb491a5b5423151694c91ab5928170d8b981b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
https://bugs.gentoo.org/671768
--- a/src/cc/progressbar.h
+++ b/src/cc/progressbar.h
@@ -316,7 +316,7 @@ private:
static inline std::string eta_from_seconds(const double s)
{
- const pt::time_duration& td = pt::seconds(s);
+ const pt::time_duration& td = pt::seconds(long(s));
return pt::to_simple_string(td);
}
|