From 624b8be46f38a695f6f9e4c7ea07cd8f370c04b4 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 5 Dec 2017 21:12:45 -0800 Subject: Updated cmake files; fixed build warnings --- RenderScript/include/LuaBindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RenderScript/include') diff --git a/RenderScript/include/LuaBindings.h b/RenderScript/include/LuaBindings.h index 19df66c..2a27720 100644 --- a/RenderScript/include/LuaBindings.h +++ b/RenderScript/include/LuaBindings.h @@ -476,7 +476,7 @@ namespace Diligent int ArrayInd = 1; for( auto it = m_EnumMapping.m_Val2StrMap.begin(); it != m_EnumMapping.m_Val2StrMap.end(); ++it ) { - if( (Flags & it->first) == it->first ) + if( static_cast(Flags & it->first) == it->first ) { lua_pushnumber( L, ArrayInd ); // -0 | +1 -> +1 PushValue( L, it->second ); // -0 | +1 -> +1 -- cgit v1.2.3