mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
luainstance: fix build with newer GCC
This commit is contained in:
@@ -395,7 +395,7 @@ void CLuaInstance::functionDeprecated(lua_State *L, const char* oldFunc, const c
|
||||
ar.short_src, ar.currentline);
|
||||
}
|
||||
|
||||
lua_Unsigned CLuaInstance::checkMagicMask(lua_Unsigned &col)
|
||||
lua_Unsigned CLuaInstance::checkMagicMask(lua_Unsigned col)
|
||||
{
|
||||
if ((col & MAGIC_MASK) == MAGIC_COLOR)
|
||||
/* use the color constants */
|
||||
|
@@ -204,7 +204,7 @@ private:
|
||||
static bool _luaL_checkbool(lua_State *L, int numArg);
|
||||
static void paramBoolDeprecated(lua_State *L, const char* val);
|
||||
static void functionDeprecated(lua_State *L, const char* oldFunc, const char* newFunc);
|
||||
static lua_Unsigned checkMagicMask(lua_Unsigned &col);
|
||||
static lua_Unsigned checkMagicMask(lua_Unsigned col);
|
||||
|
||||
static int NewWindow(lua_State *L);
|
||||
static int PaintBox(lua_State *L);
|
||||
|
Reference in New Issue
Block a user