aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2018-05-08 10:07:35 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2018-05-08 13:16:12 +0000
commit9ce75e086cc2cd22cbcc0541024fb9044f3cd7ec (patch)
treef297fc304abefef6255e10379ebac9aff8f04935 /tests
parentc65c5e14142f99e8e5014f6213e272017f84953e (diff)
Fix size_t/int size difference warnings
Change-Id: I1f22a986cdb581cdd968b6f09bde4fe46d7f97f4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/tools/tst_tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tools/tst_tools.cpp b/tests/auto/tools/tst_tools.cpp
index deb7692cd..cf94553ba 100644
--- a/tests/auto/tools/tst_tools.cpp
+++ b/tests/auto/tools/tst_tools.cpp
@@ -553,7 +553,7 @@ void TestTools::set_size()
void TestTools::set_capacity()
{
Set<int> set;
- int n = set.capacity();
+ size_t n = set.capacity();
QVERIFY(n == 0);
for (int i = 0; i < 1000; ++i) {