mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
luainstance: fix -Wnarrowing compiler warnings on 32bit platforms
This commit is contained in:
committed by
Jacek Jendrzej
parent
2cd5aa4b1f
commit
1ab77083ba
@@ -170,21 +170,21 @@ static void set_lua_variables(lua_State *L)
|
|||||||
{ "LIGHT_BLUE", MAGIC_COLOR | (COL_LIGHT_BLUE0) },
|
{ "LIGHT_BLUE", MAGIC_COLOR | (COL_LIGHT_BLUE0) },
|
||||||
{ "WHITE", MAGIC_COLOR | (COL_WHITE0) },
|
{ "WHITE", MAGIC_COLOR | (COL_WHITE0) },
|
||||||
{ "BLACK", MAGIC_COLOR | (COL_BLACK0) },
|
{ "BLACK", MAGIC_COLOR | (COL_BLACK0) },
|
||||||
{ "COLORED_EVENTS_TEXT", (COL_COLORED_EVENTS_TEXT) },
|
{ "COLORED_EVENTS_TEXT", (lua_Integer) (COL_COLORED_EVENTS_TEXT) },
|
||||||
{ "INFOBAR_TEXT", (COL_INFOBAR_TEXT) },
|
{ "INFOBAR_TEXT", (lua_Integer) (COL_INFOBAR_TEXT) },
|
||||||
{ "INFOBAR_SHADOW_TEXT", (COL_INFOBAR_SHADOW_TEXT) },
|
{ "INFOBAR_SHADOW_TEXT", (lua_Integer) (COL_INFOBAR_SHADOW_TEXT) },
|
||||||
{ "MENUHEAD_TEXT", (COL_MENUHEAD_TEXT) },
|
{ "MENUHEAD_TEXT", (lua_Integer) (COL_MENUHEAD_TEXT) },
|
||||||
{ "MENUCONTENT_TEXT", (COL_MENUCONTENT_TEXT) },
|
{ "MENUCONTENT_TEXT", (lua_Integer) (COL_MENUCONTENT_TEXT) },
|
||||||
{ "MENUCONTENT_TEXT_PLUS_1", (COL_MENUCONTENT_TEXT_PLUS_1) },
|
{ "MENUCONTENT_TEXT_PLUS_1", (lua_Integer) (COL_MENUCONTENT_TEXT_PLUS_1) },
|
||||||
{ "MENUCONTENT_TEXT_PLUS_2", (COL_MENUCONTENT_TEXT_PLUS_2) },
|
{ "MENUCONTENT_TEXT_PLUS_2", (lua_Integer) (COL_MENUCONTENT_TEXT_PLUS_2) },
|
||||||
{ "MENUCONTENT_TEXT_PLUS_3", (COL_MENUCONTENT_TEXT_PLUS_3) },
|
{ "MENUCONTENT_TEXT_PLUS_3", (lua_Integer) (COL_MENUCONTENT_TEXT_PLUS_3) },
|
||||||
{ "MENUCONTENTDARK_TEXT", (COL_MENUCONTENTDARK_TEXT) },
|
{ "MENUCONTENTDARK_TEXT", (lua_Integer) (COL_MENUCONTENTDARK_TEXT) },
|
||||||
{ "MENUCONTENTDARK_TEXT_PLUS_1", (COL_MENUCONTENTDARK_TEXT_PLUS_1) },
|
{ "MENUCONTENTDARK_TEXT_PLUS_1", (lua_Integer) (COL_MENUCONTENTDARK_TEXT_PLUS_1) },
|
||||||
{ "MENUCONTENTDARK_TEXT_PLUS_2", (COL_MENUCONTENTDARK_TEXT_PLUS_2) },
|
{ "MENUCONTENTDARK_TEXT_PLUS_2", (lua_Integer) (COL_MENUCONTENTDARK_TEXT_PLUS_2) },
|
||||||
{ "MENUCONTENTSELECTED_TEXT", (COL_MENUCONTENTSELECTED_TEXT) },
|
{ "MENUCONTENTSELECTED_TEXT", (lua_Integer) (COL_MENUCONTENTSELECTED_TEXT) },
|
||||||
{ "MENUCONTENTSELECTED_TEXT_PLUS_1", (COL_MENUCONTENTSELECTED_TEXT_PLUS_1) },
|
{ "MENUCONTENTSELECTED_TEXT_PLUS_1", (lua_Integer) (COL_MENUCONTENTSELECTED_TEXT_PLUS_1) },
|
||||||
{ "MENUCONTENTSELECTED_TEXT_PLUS_2", (COL_MENUCONTENTSELECTED_TEXT_PLUS_2) },
|
{ "MENUCONTENTSELECTED_TEXT_PLUS_2", (lua_Integer) (COL_MENUCONTENTSELECTED_TEXT_PLUS_2) },
|
||||||
{ "MENUCONTENTINACTIVE_TEXT", (COL_MENUCONTENTINACTIVE_TEXT) },
|
{ "MENUCONTENTINACTIVE_TEXT", (lua_Integer) (COL_MENUCONTENTINACTIVE_TEXT) },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user