summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir.cpp')
-rw-r--r--source/slang/slang-ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp
index cf58e6cd4..2f603ac17 100644
--- a/source/slang/slang-ir.cpp
+++ b/source/slang/slang-ir.cpp
@@ -2653,7 +2653,7 @@ namespace Slang
(IRInst**)constraintTypes.getBuffer());
}
- IRThisType* IRBuilder::getThisType(IRInterfaceType* interfaceType)
+ IRThisType* IRBuilder::getThisType(IRType* interfaceType)
{
return (IRThisType*)getType(kIROp_ThisType, interfaceType);
}