summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/slang.h b/slang.h
index 3fab11252..719ce5ee1 100644
--- a/slang.h
+++ b/slang.h
@@ -609,8 +609,8 @@ extern "C"
SLANG_LINE_DIRECTIVE_MODE_GLSL, /**< Emit GLSL-style directives with file *number* instead of name */
};
- typedef int SlangSourceLanguage;
- enum
+ typedef int SlangSourceLanguageIntegral;
+ enum SlangSourceLanguage : SlangSourceLanguageIntegral
{
SLANG_SOURCE_LANGUAGE_UNKNOWN,
SLANG_SOURCE_LANGUAGE_SLANG,