summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index 9fda630bf..332125fc6 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -4754,7 +4754,7 @@ emitDeclImpl(decl, nullptr);
void readSimpleIntVal()
{
int c = peek();
- if(isDigit(c))
+ if(isDigit((char)c))
{
get();
}