summaryrefslogtreecommitdiff
path: root/source/compiler-core/slang-artifact-representation-impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-artifact-representation-impl.cpp')
-rw-r--r--source/compiler-core/slang-artifact-representation-impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-artifact-representation-impl.cpp b/source/compiler-core/slang-artifact-representation-impl.cpp
index 9a5c13311..950ce5d7d 100644
--- a/source/compiler-core/slang-artifact-representation-impl.cpp
+++ b/source/compiler-core/slang-artifact-representation-impl.cpp
@@ -23,7 +23,7 @@ void* ExtFileArtifactRepresentation::getInterface(const Guid& guid)
guid == IPathArtifactRepresentation::getTypeGuid() ||
guid == IExtFileArtifactRepresentation::getTypeGuid())
{
- return static_cast<IPathArtifactRepresentation*>(this);
+ return static_cast<IExtFileArtifactRepresentation*>(this);
}
return nullptr;
}