Merge pull request #2878 from greg-lunarg/vulkan-1.3-A
Fix size_t to int warning
This commit is contained in:
commit
a7aae72ef4
@ -437,7 +437,7 @@ Id Builder::makeGenericType(spv::Op opcode, std::vector<spv::IdImmediate>& opera
|
|||||||
continue; // Number mismatch, find next
|
continue; // Number mismatch, find next
|
||||||
|
|
||||||
bool match = true;
|
bool match = true;
|
||||||
for (size_t op = 0; match && op < operands.size(); ++op) {
|
for (int op = 0; match && op < (int)operands.size(); ++op) {
|
||||||
match = (operands[op].isId ? type->getIdOperand(op) : type->getImmediateOperand(op)) == operands[op].word;
|
match = (operands[op].isId ? type->getIdOperand(op) : type->getImmediateOperand(op)) == operands[op].word;
|
||||||
}
|
}
|
||||||
if (match)
|
if (match)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user