From b07f4effda2f87ac9b3229e588121d224fd8cf52 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Fri, 28 Apr 2023 12:00:52 +0800 Subject: Use Index for FuncType param count (#2853) --- source/slang/slang-ast-type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/slang-ast-type.h') diff --git a/source/slang/slang-ast-type.h b/source/slang/slang-ast-type.h index cb3fde9f9..67288a59d 100644 --- a/source/slang/slang-ast-type.h +++ b/source/slang/slang-ast-type.h @@ -674,8 +674,8 @@ class FuncType : public Type Type* resultType = nullptr; Type* errorType = nullptr; - UInt getParamCount() { return paramTypes.getCount(); } - Type* getParamType(UInt index) { return paramTypes[index]; } + Index getParamCount() { return paramTypes.getCount(); } + Type* getParamType(Index index) { return paramTypes[index]; } Type* getResultType() { return resultType; } Type* getErrorType() { return errorType; } -- cgit v1.2.3