diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-04-28 12:00:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-28 12:00:52 +0800 |
| commit | b07f4effda2f87ac9b3229e588121d224fd8cf52 (patch) | |
| tree | 95d4602ba4a3fffe9a879a4960602e8b8d887017 /source/slang/slang-check-decl.cpp | |
| parent | 53793612e3a2f1cadc4f7cbf703bcd94b7121414 (diff) | |
Use Index for FuncType param count (#2853)
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
| -rw-r--r-- | source/slang/slang-check-decl.cpp | 2 |
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)) |
