diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-04 16:09:48 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-04 16:09:48 -0400 |
| commit | 288841f66c808af70ad7687f9704c87075129b18 (patch) | |
| tree | b6e2e4f5a28be28b28a346f3803121c34bb28f87 /source/slang/mangle.cpp | |
| parent | 664e0da8dff1d04860cc46ce8139cbd47e15c552 (diff) | |
fixed all warnings
Diffstat (limited to 'source/slang/mangle.cpp')
| -rw-r--r-- | source/slang/mangle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/mangle.cpp b/source/slang/mangle.cpp index 63e54d065..ed17a7ffa 100644 --- a/source/slang/mangle.cpp +++ b/source/slang/mangle.cpp @@ -58,10 +58,10 @@ namespace Slang { if( auto constVal = dynamic_cast<ConstantIntVal*>(val) ) { - auto val = constVal->value; - if( val >= 0 && val <= 9 ) + auto cVal = constVal->value; + if(cVal >= 0 && cVal <= 9 ) { - emit(context, (UInt) val); + emit(context, (UInt)cVal); return; } } |
