From 73a2320278e89fbd331616fc0dea0db0c82bb851 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 15 Sep 2022 12:15:19 +0200 Subject: Fix signed/unsigned comparison warning in shader test Trivial, noticed while looking for deprecation warnings. Change-Id: Ie2c450d457e25b998fb686c4c22333781364073c Reviewed-by: Laszlo Agocs --- tests/auto/gui/rhi/qshader/tst_qshader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/gui/rhi') 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); -- cgit v1.2.3