summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/rhi
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-09-15 12:15:19 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-09-22 17:34:51 +0200
commit73a2320278e89fbd331616fc0dea0db0c82bb851 (patch)
tree1709136e8fc13bc9730fe42a092c37d5c4e5bc77 /tests/auto/gui/rhi
parent820775166132b073a941f2389fba81db49619688 (diff)
Fix signed/unsigned comparison warning in shader test
Trivial, noticed while looking for deprecation warnings. Change-Id: Ie2c450d457e25b998fb686c4c22333781364073c Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi')
-rw-r--r--tests/auto/gui/rhi/qshader/tst_qshader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/rhi/qshader/tst_qshader.cpp b/tests/auto/gui/rhi/qshader/tst_qshader.cpp
index 3065386ea9..912101a839 100644
--- a/tests/auto/gui/rhi/qshader/tst_qshader.cpp
+++ b/tests/auto/gui/rhi/qshader/tst_qshader.cpp
@@ -613,7 +613,7 @@ void tst_QShader::loadV7()
QVERIFY(tesc.isValid());
QCOMPARE(QShaderPrivate::get(&tesc)->qsbVersion, 7);
QCOMPARE(tesc.availableShaders().count(), 5);
- QCOMPARE(tesc.description().tessellationOutputVertexCount(), 3);
+ QCOMPARE(tesc.description().tessellationOutputVertexCount(), 3u);
QCOMPARE(tesc.description().inputBuiltinVariables().count(), 2);
QCOMPARE(tesc.description().outputBuiltinVariables().count(), 3);