From 09fc0d60e8d607f068179fb316d00bc1630255bd Mon Sep 17 00:00:00 2001 From: Fabian Bumberger Date: Mon, 11 Mar 2013 17:54:50 +0100 Subject: 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 Reviewed-by: Laszlo Papp --- tests/auto/corelib/kernel/qmath/tst_qmath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -static const qreal PI = 3.14159265358979323846264338327950288; +static const double PI = 3.14159265358979323846264338327950288; class tst_QMath : public QObject { -- cgit v1.2.3