forked from premiere/premiere-libtorrent
fix warning
This commit is contained in:
parent
2cfb4e8205
commit
0f6a89f0c0
|
@ -122,9 +122,9 @@ namespace libtorrent
|
||||||
inline bool operator>=(time_duration lhs, time_duration rhs)
|
inline bool operator>=(time_duration lhs, time_duration rhs)
|
||||||
{ return lhs.diff >= rhs.diff; }
|
{ return lhs.diff >= rhs.diff; }
|
||||||
inline time_duration operator*(time_duration lhs, float rhs)
|
inline time_duration operator*(time_duration lhs, float rhs)
|
||||||
{ return time_duration(lhs.diff * rhs); }
|
{ return time_duration(boost::int64_t(lhs.diff * rhs)); }
|
||||||
inline time_duration operator*(float lhs, time_duration rhs)
|
inline time_duration operator*(float lhs, time_duration rhs)
|
||||||
{ return time_duration(lhs * rhs.diff); }
|
{ return time_duration(boost::int64_t(lhs * rhs.diff)); }
|
||||||
|
|
||||||
// libtorrent time type
|
// libtorrent time type
|
||||||
struct ptime
|
struct ptime
|
||||||
|
|
Loading…
Reference in New Issue