diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-10-05 07:33:59 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-10-05 07:36:18 (GMT) |
commit | c488298d4c15fb39ef960bda19f28c9ea9b9054b (patch) | |
tree | ba6ba6db005ab93550baefa6f873b06151b61c2c /tests/auto/qsharedmemory | |
parent | 3909d97e86d62fd94e149925b5f3111c8f391334 (diff) | |
download | Qt-c488298d4c15fb39ef960bda19f28c9ea9b9054b.zip Qt-c488298d4c15fb39ef960bda19f28c9ea9b9054b.tar.gz Qt-c488298d4c15fb39ef960bda19f28c9ea9b9054b.tar.bz2 |
Fixed sharedmemory autotest build for RVCT.
Without this fix we got the following error:
"line 776: Error: #254: type name is not allowed"
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qsharedmemory')
-rw-r--r-- | tests/auto/qsharedmemory/tst_qsharedmemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsharedmemory/tst_qsharedmemory.cpp b/tests/auto/qsharedmemory/tst_qsharedmemory.cpp index c4ff76c..db86c06 100644 --- a/tests/auto/qsharedmemory/tst_qsharedmemory.cpp +++ b/tests/auto/qsharedmemory/tst_qsharedmemory.cpp @@ -773,7 +773,7 @@ void tst_QSharedMemory::simpleProcessProducerConsumer() delete consumers.takeFirst(); } QCOMPARE(consumerFailed, false); - QCOMPARE(failedProcesses, unsigned int (0)); + QCOMPARE(failedProcesses, (unsigned int)(0)); } QTEST_MAIN(tst_QSharedMemory) |