summaryrefslogtreecommitdiffstats
path: root/RenderScript/include
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-14 21:07:09 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-14 21:07:09 +0000
commit24985048c547e602d6780ed110536c62d05b7a02 (patch)
tree462c8970157ea47f6d7007dce84e08ab44527ec8 /RenderScript/include
parentAdded vulkan device type to script parser (diff)
downloadDiligentTools-24985048c547e602d6780ed110536c62d05b7a02.tar.gz
DiligentTools-24985048c547e602d6780ed110536c62d05b7a02.zip
Fixed clang build error
Diffstat (limited to 'RenderScript/include')
-rw-r--r--RenderScript/include/LuaBindings.h4
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" );
}
}