Build: fix warnings. Fixes #1653.
This commit is contained in:
2
SPIRV/GlslangToSpv.cpp
Normal file → Executable file
2
SPIRV/GlslangToSpv.cpp
Normal file → Executable 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user