From cba424b0d851693c912d61dbf1a08fafa66f34bf Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 28 Dec 2015 16:16:00 +0100 Subject: [PATCH] lua_cc_text: fix type to allow compilation with recent gcc Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/aac438745c8cd142b3928bb43407bb7a0c96eeeb Author: Stefan Seyfried Date: 2015-12-28 (Mon, 28 Dec 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/lua/lua_cc_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/lua/lua_cc_text.cpp b/src/gui/lua/lua_cc_text.cpp index c71ab058a..a3717e76e 100644 --- a/src/gui/lua/lua_cc_text.cpp +++ b/src/gui/lua/lua_cc_text.cpp @@ -98,7 +98,7 @@ int CLuaInstCCText::CCTextNew(lua_State *L) if (font_text >= SNeutrinoSettings::FONT_TYPE_COUNT || font_text < 0) font_text = SNeutrinoSettings::FONT_TYPE_MENU; - int shadow_mode = CC_SHADOW_OFF; + lua_Integer shadow_mode = CC_SHADOW_OFF; if (!tableLookup(L, "has_shadow", shadow_mode)) { std::string tmp1 = "false"; if (tableLookup(L, "has_shadow", tmp1))