mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-22 03:40:29 +00:00
Fix size_t to int warning
This commit is contained in:
parent
9ebd8ff6c1
commit
69565b1884
@ -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…
x
Reference in New Issue
Block a user