From 24985048c547e602d6780ed110536c62d05b7a02 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 14 Apr 2018 14:07:09 -0700 Subject: Fixed clang build error --- RenderScript/include/LuaBindings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'RenderScript/include') 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(Val), ") not found in the map" ); + SCRIPT_PARSING_ERROR( L, "Enum value (", static_cast(Val), ") not found in the map" ); } } -- cgit v1.2.3