diff options
-rw-r--r-- | lib/LuaConfigFile.cc | 3 | ||||
-rw-r--r-- | lib/LuaHttp.cc | 2 | ||||
-rw-r--r-- | lib/LuaXML.cc | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/LuaConfigFile.cc b/lib/LuaConfigFile.cc index f6b9574..7089f51 100644 --- a/lib/LuaConfigFile.cc +++ b/lib/LuaConfigFile.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaConfigFile.cc,v 1.2 2007-05-25 07:29:01 pixel Exp $ */ +/* $Id: LuaConfigFile.cc,v 1.3 2007-05-25 09:59:22 pixel Exp $ */ #include "LuaConfigFile.h" @@ -145,7 +145,6 @@ void LuaConfigSectionContents::pushmembers(Lua * L) { void LuaConfigSectionContents::pushstatics(Lua * L) throw (GeneralException) { CHECK_METHODS(ConfigSectionContents); - CHECK_FUNCTIONS(ConfigSectionContents); } int sLua_ConfigSectionContents::ConfigSectionContents_proceed(Lua * L, int n, ConfigSectionContents * c, int caller) { diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc index e164eb4..6d22307 100644 --- a/lib/LuaHttp.cc +++ b/lib/LuaHttp.cc @@ -144,7 +144,7 @@ class LuaDomain : public Domain { virtual ~LuaDomain() { L->push(DOMAIN_REGISTRY); L->gettable(LUA_REGISTRYINDEX); - L->push((lua_Number id); + L->push((lua_Number) id); L->push(); L->settable(); L->pop(); diff --git a/lib/LuaXML.cc b/lib/LuaXML.cc index 849d26a..34ab269 100644 --- a/lib/LuaXML.cc +++ b/lib/LuaXML.cc @@ -42,7 +42,7 @@ static void ParseNode (lua_State *L,TiXmlNode* pNode) { case TiXmlNode::ELEMENT: // normal element, parse recursive lua_newtable(L); - LuaXML_ParseNode(L,pChild); + ParseNode(L,pChild); lua_rawseti(L,-2,++iChildCount); break; case TiXmlNode::COMMENT: break; |