diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-07 08:12:50 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-07 08:12:50 -0700 |
| commit | 32deeefa1d4e2c1772382a115def72b2305d869b (patch) | |
| tree | eded696fa0a043f0a0aba0796a23f91aaecc1230 /source | |
| parent | af8c0eae90c76d2c8f745badf6f743cefe15f777 (diff) | |
Fix signed/unsigned comparison warning.
Diffstat (limited to 'source')
| -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]); |
