summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-check-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
-rw-r--r--source/slang/slang-check-decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp
index bbbbaae2f..99939afde 100644
--- a/source/slang/slang-check-decl.cpp
+++ b/source/slang/slang-check-decl.cpp
@@ -5587,7 +5587,7 @@ namespace Slang
return;
decl->returnType.type = funcType->getResultType();
decl->errorType.type = funcType->getErrorType();
- for (UInt i = 0; i < funcType->getParamCount(); i++)
+ for (Index i = 0; i < funcType->getParamCount(); i++)
{
auto paramType = funcType->getParamType(i);
if (auto dirType = as<ParamDirectionType>(paramType))