diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-07 08:50:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-07 08:50:00 -0700 |
| commit | c47f23c2e61538c55819363f9db47ce946649027 (patch) | |
| tree | 00c8e2aaf83735f86ce6bf71e6781ac579a55f64 /source/slang/emit.cpp | |
| parent | af8c0eae90c76d2c8f745badf6f743cefe15f777 (diff) | |
| parent | 54519ed70fbe154e196d04a8b62f6ea6aeded52a (diff) | |
Merge pull request #56 from tfoleyNV/bug-55
Bug 55
Diffstat (limited to 'source/slang/emit.cpp')
| -rw-r--r-- | source/slang/emit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp index 79a8277bf..08d2218dc 100644 --- a/source/slang/emit.cpp +++ b/source/slang/emit.cpp @@ -755,7 +755,7 @@ static void emitCallExpr( char d = *cursor++; assert(('0' <= d) && (d <= '9')); - int argIndex = d - '0'; + UInt argIndex = d - '0'; assert((0 <= argIndex) && (argIndex < argCount)); Emit(context, "("); EmitExpr(context, callExpr->Arguments[argIndex]); |
