Fix size_t to int warning
This commit is contained in:
parent
9ebd8ff6c1
commit
69565b1884
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ Id Builder::makeGenericType(spv::Op opcode, std::vector<spv::IdImmediate>& opera
|
|||
continue; // Number mismatch, find next
|
||||
|
||||
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;
|
||||
}
|
||||
if (match)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue