summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpauseanimation/tst_qpauseanimation.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-08-19 16:05:12 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-08-19 16:25:32 (GMT)
commitd30921f13dc74a3e05a3f29c0c45147823f2a064 (patch)
tree4f7a97b08a4a6cf45c76a860be4e94685f661db1 /tests/auto/qpauseanimation/tst_qpauseanimation.cpp
parentd31e3bd3e27e9249df451b4b2a3a3a16e9160fa4 (diff)
downloadQt-d30921f13dc74a3e05a3f29c0c45147823f2a064.zip
Qt-d30921f13dc74a3e05a3f29c0c45147823f2a064.tar.gz
Qt-d30921f13dc74a3e05a3f29c0c45147823f2a064.tar.bz2
Fixed build issue on Solaris
Task-number: QTBUG-12994
Diffstat (limited to 'tests/auto/qpauseanimation/tst_qpauseanimation.cpp')
-rw-r--r--tests/auto/qpauseanimation/tst_qpauseanimation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qpauseanimation/tst_qpauseanimation.cpp b/tests/auto/qpauseanimation/tst_qpauseanimation.cpp
index e473176..605cee6 100644
--- a/tests/auto/qpauseanimation/tst_qpauseanimation.cpp
+++ b/tests/auto/qpauseanimation/tst_qpauseanimation.cpp
@@ -280,7 +280,7 @@ void tst_QPauseAnimation::sequentialPauseGroup()
QVERIFY(group.state() == QAbstractAnimation::Running);
QVERIFY(animation1.state() == QAbstractAnimation::Stopped);
- QCOMPARE(&animation2, group.currentAnimation());
+ QCOMPARE((QAbstractAnimation*)&animation2, group.currentAnimation());
QVERIFY(animation2.state() == QAbstractAnimation::Running);
QVERIFY(animation3.state() == QAbstractAnimation::Stopped);
@@ -292,7 +292,7 @@ void tst_QPauseAnimation::sequentialPauseGroup()
QVERIFY(group.state() == QAbstractAnimation::Running);
QVERIFY(animation1.state() == QAbstractAnimation::Stopped);
QVERIFY(animation2.state() == QAbstractAnimation::Stopped);
- QCOMPARE(&animation3, group.currentAnimation());
+ QCOMPARE((QAbstractAnimation*)&animation3, group.currentAnimation());
QVERIFY(animation3.state() == QAbstractAnimation::Running);
group.setCurrentTime(750);
@@ -329,7 +329,7 @@ void tst_QPauseAnimation::sequentialGroupWithPause()
QVERIFY(group.state() == QAbstractAnimation::Running);
QVERIFY(animation.state() == QAbstractAnimation::Stopped);
- QCOMPARE(&pause, group.currentAnimation());
+ QCOMPARE((QAbstractAnimation*)&pause, group.currentAnimation());
QVERIFY(pause.state() == QAbstractAnimation::Running);
group.setCurrentTime(600);