lua_cc_text: fix type to allow compilation with recent gcc

Origin commit data
------------------
Branch: ni/coolstream
Commit: aac438745c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-28 (Mon, 28 Dec 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2015-12-28 16:16:00 +01:00
committed by Michael Liebmann
parent 243167a925
commit cba424b0d8

View File

@@ -98,7 +98,7 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
if (font_text >= SNeutrinoSettings::FONT_TYPE_COUNT || font_text < 0) if (font_text >= SNeutrinoSettings::FONT_TYPE_COUNT || font_text < 0)
font_text = SNeutrinoSettings::FONT_TYPE_MENU; 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)) { if (!tableLookup(L, "has_shadow", shadow_mode)) {
std::string tmp1 = "false"; std::string tmp1 = "false";
if (tableLookup(L, "has_shadow", tmp1)) if (tableLookup(L, "has_shadow", tmp1))