summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp')
-rw-r--r--tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp b/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp
index 6cd62a170..ccd5cd64e 100644
--- a/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp
+++ b/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp
@@ -1076,7 +1076,7 @@ private Q_SLOTS:
const std::vector<ShaderUniformBlock> activeUniformBlocks = m_glHelper.programUniformBlocks(shaderProgram.programId());
// THEN
- QCOMPARE(activeUniformBlocks.size(), 1);
+ QCOMPARE(activeUniformBlocks.size(), 1U);
const ShaderUniformBlock uniformBlock = activeUniformBlocks.front();
QCOMPARE(uniformBlock.m_activeUniformsCount, 1);
@@ -1104,7 +1104,7 @@ private Q_SLOTS:
std::vector<ShaderAttribute> activeAttributes = m_glHelper.programAttributesAndLocations(shaderProgram.programId());
// THEN
- QCOMPARE(activeAttributes.size(), 2);
+ QCOMPARE(activeAttributes.size(), 2U);
std::sort(activeAttributes.begin(), activeAttributes.end(), [] (const ShaderAttribute &a, const ShaderAttribute &b) { return a.m_name < b.m_name; });
const ShaderAttribute attribute1 = activeAttributes.at(0);
@@ -1135,7 +1135,7 @@ private Q_SLOTS:
std::vector<ShaderUniform> activeUniforms = m_glHelper.programUniformsAndLocations(shaderProgram.programId());
// THEN
- QCOMPARE(activeUniforms.size(), 4);
+ QCOMPARE(activeUniforms.size(), 4U);
std::sort(activeUniforms.begin(), activeUniforms.end(), [] (const ShaderUniform &a, const ShaderUniform &b) { return a.m_name < b.m_name; });
const ShaderUniform uniform1 = activeUniforms.at(0);