diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-12-15 07:43:06 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-12-15 14:21:17 +0100 |
commit | 90fb8a94b438d9aed27b8cf5f020b92891cce749 (patch) | |
tree | b8f4b91e5f21e99faebfd4045fd6bf3f2973c32b /tests | |
parent | dfcd9f8b5aa56973e4a000331e51c4e9386ec78d (diff) |
tst_pickboundingvolumejob: fix signed/unsigned mismatch
Amends fd7536a6e4cfaee8e52c9c6411601aed745fe5f6.
Pick-to: 6.5 6.4 6.2
Change-Id: Ib2aed78b798ea163125593319f65b123bcc4f895
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp b/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp index e8e217c6e..743af3264 100644 --- a/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp +++ b/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp @@ -2234,7 +2234,7 @@ private Q_SLOTS: std::vector<Qt3DRender::Render::PickingUtils::ViewportCameraAreaDetails> results = gatherer.gather(test->frameGraphRoot()); // THEN - QCOMPARE(results.size(), 0); + QCOMPARE(results.size(), 0U); // WHEN Qt3DRender::Render::FrameGraphNode *backendFGNode = test->nodeManagers()->frameGraphManager()->lookupNode(noPicking->id()); @@ -2250,7 +2250,7 @@ private Q_SLOTS: results = gatherer.gather(test->frameGraphRoot()); // THEN - QCOMPARE(results.size(), 1); + QCOMPARE(results.size(), 1U); const auto &vca = results.front(); QCOMPARE(vca.area, QSize(600, 600)); QCOMPARE(vca.cameraId, camera->id()); |