summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-05 07:33:59 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-10-05 09:49:18 (GMT)
commit251459d24af17d173937820e8f20ef30ed448f6f (patch)
treeba6ba6db005ab93550baefa6f873b06151b61c2c
parentc7458326e1772bf3162d95c0b512c3ad2de94201 (diff)
downloadQt-251459d24af17d173937820e8f20ef30ed448f6f.zip
Qt-251459d24af17d173937820e8f20ef30ed448f6f.tar.gz
Qt-251459d24af17d173937820e8f20ef30ed448f6f.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 (cherry picked from commit c488298d4c15fb39ef960bda19f28c9ea9b9054b)
-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)