Skip to content

Commit 19700df

Browse files
committed
Fix compiler warning, which is treated as an error
1 parent e27ae04 commit 19700df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/slang/slang-ir-specialize.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3035,7 +3035,7 @@ bool IsIRInstDependOn(IRInst* a, IRInst* b)
30353035
if (a->getFullType() == b)
30363036
return true;
30373037

3038-
for (int i = 0; i < a->getOperandCount(); i++)
3038+
for (UInt i = 0; i < a->getOperandCount(); i++)
30393039
{
30403040
auto operand = a->getOperand(i);
30413041
if (operand == b)

0 commit comments

Comments
 (0)