Fix warnings about int comparisons of different signness

Warnings in public headers can trigger warnings-as-errors.
This commit is contained in:
Ben Clayton
2021-03-23 10:47:59 +00:00
parent c51a774ebd
commit 591651da3d
2 changed files with 3 additions and 3 deletions

View File

@@ -234,7 +234,7 @@ TEST_P(VulkanRelaxedTest, FromFile)
if (!resourceSetBindings.empty()) {
assert(resourceSetBindings.size() == fileNames.size());
for (int i = 0; i < shaders.size(); i++)
for (size_t i = 0; i < shaders.size(); i++)
shaders[i]->setResourceSetBinding(resourceSetBindings[i]);
}
@@ -302,4 +302,4 @@ INSTANTIATE_TEST_SUITE_P(
} // anonymous namespace
} // namespace glslangtest
#endif
#endif