summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 2224c10bf..461d15df5 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -612,7 +612,7 @@ SLANG_NO_THROW SlangResult SLANG_MCALL Session::createCompileRequest(slang::ICom
SLANG_NO_THROW SlangProfileID SLANG_MCALL Session::findProfile(
char const* name)
{
- return Slang::Profile::lookUp(name).raw;
+ return SlangProfileID(Slang::Profile::lookUp(name).raw);
}
SLANG_NO_THROW SlangCapabilityID SLANG_MCALL Session::findCapability(