diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2017-12-11 06:02:23 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2017-12-11 06:02:23 +0000 |
| commit | 670d5a60b495c64a8a00d2521e2388eb5a892e07 (patch) | |
| tree | d5d4760d3aac31c19f8a09e0e091416939744534 /RenderScript/src/ResourceMappingParser.cpp | |
| parent | Updated cmakelists (diff) | |
| download | DiligentTools-670d5a60b495c64a8a00d2521e2388eb5a892e07.tar.gz DiligentTools-670d5a60b495c64a8a00d2521e2388eb5a892e07.zip | |
Fixed compiler warnings
Diffstat (limited to 'RenderScript/src/ResourceMappingParser.cpp')
| -rw-r--r-- | RenderScript/src/ResourceMappingParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RenderScript/src/ResourceMappingParser.cpp b/RenderScript/src/ResourceMappingParser.cpp index 9956ef7..e75ff1c 100644 --- a/RenderScript/src/ResourceMappingParser.cpp +++ b/RenderScript/src/ResourceMappingParser.cpp @@ -53,7 +53,7 @@ namespace Diligent { VERIFY( pBasePointer == &Entries, "Sanity check failed" ); auto CurrIndex = Entries.size(); - if( CurrIndex != NewArrayIndex - 1 ) + if( static_cast<int>(CurrIndex) != NewArrayIndex - 1 ) SCRIPT_PARSING_ERROR( L, "Explicit array indices are not allowed in resource mapping description. Provided index ", NewArrayIndex - 1, " conflicts with actual index ", CurrIndex, "." ); Entries.resize( CurrIndex + 1 ); ParseLuaTable( L, StackIndex, &(Entries)[CurrIndex], m_Bindings ); |
