summaryrefslogtreecommitdiffstats
path: root/RenderScript/include
diff options
context:
space:
mode:
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" );
}
}