mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
luainstance: fix build with newer GCC
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
This commit is contained in:
committed by
M. Liebmann
parent
dbad3b069a
commit
e85f64d733
@@ -84,7 +84,7 @@ void functionDeprecated(lua_State *L, const char* oldFunc, const char* newFunc)
|
||||
ar.short_src, ar.currentline);
|
||||
}
|
||||
|
||||
lua_Unsigned checkMagicMask(lua_Unsigned &col)
|
||||
lua_Unsigned checkMagicMask(lua_Unsigned col)
|
||||
{
|
||||
if ((col & MAGIC_MASK) == MAGIC_COLOR)
|
||||
col = CFrameBuffer::getInstance()->realcolor[col & 0x000000ff];
|
||||
|
@@ -85,7 +85,7 @@ bool _luaL_checkbool(lua_State *L, int numArg);
|
||||
void paramBoolDeprecated(lua_State *L, const char* val);
|
||||
void paramDeprecated(lua_State *L, const char* oldParam, const char* newParam);
|
||||
void functionDeprecated(lua_State *L, const char* oldFunc, const char* newFunc);
|
||||
lua_Unsigned checkMagicMask(lua_Unsigned &col);
|
||||
lua_Unsigned checkMagicMask(lua_Unsigned col);
|
||||
|
||||
bool tableLookup(lua_State*, const char*, std::string&);
|
||||
bool tableLookup(lua_State*, const char*, lua_Integer&);
|
||||
|
Reference in New Issue
Block a user