Build: fix warnings. Fixes #1653.

This commit is contained in:
John Kessenich
2019-01-16 14:55:37 +07:00
parent 2898223375
commit d72f488cc6
2 changed files with 2 additions and 2 deletions

2
SPIRV/GlslangToSpv.cpp Normal file → Executable file
View File

@@ -3232,7 +3232,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangStructToSpvType(const glslang::TTy
// Decorate it
decorateStructType(type, glslangMembers, explicitLayout, qualifier, spvType);
for (int i = 0; i < deferredForwardPointers.size(); ++i) {
for (int i = 0; i < (int)deferredForwardPointers.size(); ++i) {
auto it = deferredForwardPointers[i];
convertGlslangToSpvType(*it.first, explicitLayout, it.second, false);
}