diff options
Diffstat (limited to 'source/slang/slang-ast-val.cpp')
| -rw-r--r-- | source/slang/slang-ast-val.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ast-val.cpp b/source/slang/slang-ast-val.cpp index fdb7e6990..98135ef16 100644 --- a/source/slang/slang-ast-val.cpp +++ b/source/slang/slang-ast-val.cpp @@ -364,7 +364,7 @@ Val* ExpandSubtypeWitness::_substituteImplOverride( // If sub is substituted into a concrete type pack, we should return a // TypePackSubtypeWitness. ShortList<SubtypeWitness*> newWitnesses; - for (Index i = 0; i < subTypePack->getTypeCount(); i++) + for (int i = 0; i < (int)subTypePack->getTypeCount(); i++) { auto elementType = subTypePack->getElementType(i); subst.packExpansionIndex = i; |
