summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-05 07:33:59 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-05 07:36:18 (GMT)
commitc488298d4c15fb39ef960bda19f28c9ea9b9054b (patch)
treeba6ba6db005ab93550baefa6f873b06151b61c2c
parent3909d97e86d62fd94e149925b5f3111c8f391334 (diff)
downloadQt-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
-rw-r--r--tests/auto/qsharedmemory/tst_qsharedmemory.cpp2
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)