diff --git a/src/tests/test_lua.cpp b/src/tests/test_lua.cpp index abe554d67679..f2f95bbabf6d 100644 --- a/src/tests/test_lua.cpp +++ b/src/tests/test_lua.cpp @@ -23,6 +23,8 @@ # include #endif +#pragma GCC diagnostic ignored "-Wold-style-cast" + BOOST_AUTO_TEST_SUITE( lua ) static int lua_round(lua_State * L, double d)