diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-14 21:07:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-14 21:07:09 +0000 |
| commit | 24985048c547e602d6780ed110536c62d05b7a02 (patch) | |
| tree | 462c8970157ea47f6d7007dce84e08ab44527ec8 /RenderScript/include/LuaBindings.h | |
| parent | Added vulkan device type to script parser (diff) | |
| download | DiligentTools-24985048c547e602d6780ed110536c62d05b7a02.tar.gz DiligentTools-24985048c547e602d6780ed110536c62d05b7a02.zip | |
Fixed clang build error
Diffstat (limited to 'RenderScript/include/LuaBindings.h')
| -rw-r--r-- | RenderScript/include/LuaBindings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RenderScript/include/LuaBindings.h b/RenderScript/include/LuaBindings.h index 8f04f5f..e43b9a3 100644 --- a/RenderScript/include/LuaBindings.h +++ b/RenderScript/include/LuaBindings.h @@ -427,8 +427,8 @@ namespace Diligent } else { - UNEXPECTED( "Enum value (", Val, ") not found in the map" ); - SCRIPT_PARSING_ERROR( L, "Enum value (", Val, ") not found in the map" ); + UNEXPECTED( "Enum value (", static_cast<Int32>(Val), ") not found in the map" ); + SCRIPT_PARSING_ERROR( L, "Enum value (", static_cast<Int32>(Val), ") not found in the map" ); } } |
