diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2013-03-11 17:54:50 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-14 19:49:38 +0100 |
commit | 09fc0d60e8d607f068179fb316d00bc1630255bd (patch) | |
tree | e64554f5f372f3364290d025d9f6c1337be055be /tests/auto/corelib/kernel/qmath | |
parent | 94d1d8486154a1df81545cdda2fe4a2ddcb001e1 (diff) |
Fix qmath autotest for arm
Change the data type of PI from qreal to double, because qreal is defined as float and not as double on arm.
The testcase however expects PI to be a double value.
Change-Id: I003481071ecb2c1f54e6dcee9b450da2f1654969
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Diffstat (limited to 'tests/auto/corelib/kernel/qmath')
-rw-r--r-- | tests/auto/corelib/kernel/qmath/tst_qmath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qmath/tst_qmath.cpp b/tests/auto/corelib/kernel/qmath/tst_qmath.cpp index a1ca2ca8cb..24934ac138 100644 --- a/tests/auto/corelib/kernel/qmath/tst_qmath.cpp +++ b/tests/auto/corelib/kernel/qmath/tst_qmath.cpp @@ -43,7 +43,7 @@ #include <QtTest/QtTest> #include <qmath.h> -static const qreal PI = 3.14159265358979323846264338327950288; +static const double PI = 3.14159265358979323846264338327950288; class tst_QMath : public QObject { |