From b79e2906e8adf2d669f45a0c2350da8d2aff266d Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 22 Jul 2008 05:51:46 +0000 Subject: [PATCH] - Fixed building on ARM (patch from Cristian Greco --- src/realprogressbarthread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/realprogressbarthread.cpp b/src/realprogressbarthread.cpp index 104e14cb7..a231af383 100644 --- a/src/realprogressbarthread.cpp +++ b/src/realprogressbarthread.cpp @@ -141,7 +141,8 @@ void RealProgressBarThread::mark(qreal start, qreal end, qreal progress){ if (end > array.size()) end = array.size(); int start_int, end_int; - qreal temp, start_frac, end_frac; + qreal start_frac, end_frac; + double temp; start_frac = modf(start, &temp); start_int = (int) temp; end_frac = modf(end, &temp);