mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Fixed building on ARM (patch from Cristian Greco
This commit is contained in:
parent
99e8ac3d36
commit
b79e2906e8
1 changed files with 2 additions and 1 deletions
|
@ -141,7 +141,8 @@ void RealProgressBarThread::mark(qreal start, qreal end, qreal progress){
|
||||||
if (end > array.size())
|
if (end > array.size())
|
||||||
end = array.size();
|
end = array.size();
|
||||||
int start_int, end_int;
|
int start_int, end_int;
|
||||||
qreal temp, start_frac, end_frac;
|
qreal start_frac, end_frac;
|
||||||
|
double temp;
|
||||||
start_frac = modf(start, &temp);
|
start_frac = modf(start, &temp);
|
||||||
start_int = (int) temp;
|
start_int = (int) temp;
|
||||||
end_frac = modf(end, &temp);
|
end_frac = modf(end, &temp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue