diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-11-22 19:37:18 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-11-22 19:39:00 (GMT) |
commit | 37f4e51127081f393743b5023f61ec48674cf7a2 (patch) | |
tree | 3cab5241c6189b8b2f157fde87ac1ca2352068dc /tests/auto | |
parent | 41456794ccd80bbd683ed19354f6e6d97c45681b (diff) | |
download | Qt-37f4e51127081f393743b5023f61ec48674cf7a2.zip Qt-37f4e51127081f393743b5023f61ec48674cf7a2.tar.gz Qt-37f4e51127081f393743b5023f61ec48674cf7a2.tar.bz2 |
tst_qthread: fix compilation
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qthread/tst_qthread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qthread/tst_qthread.cpp b/tests/auto/qthread/tst_qthread.cpp index 85b8f04..b0efb5a 100644 --- a/tests/auto/qthread/tst_qthread.cpp +++ b/tests/auto/qthread/tst_qthread.cpp @@ -997,7 +997,8 @@ void tst_QThread::QTBUG15378_exitAndExec() thread.exit(556); thread.sem1.release(); //should exit the first loop thread.sem2.acquire(); - QCOMPARE(int(thread.value), 556); + int v = thread.value; + QCOMPARE(v, 556); //test that the thread is running by executing queued connected signal there Syncronizer sync1; |