luainstance: fix build with newer GCC

This commit is contained in:
Stefan Seyfried
2015-12-13 14:01:12 +01:00
parent 565e5ff3ff
commit 83c385c126
2 changed files with 2 additions and 2 deletions

View File

@@ -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 */

View File

@@ -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);