From a7e7cf82276d96ebc7827ec09d06eaae4c5610d0 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 28 May 2009 19:57:04 -0700 Subject: Uniformizing the usage of luarecast. --- lib/LuaXML.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/LuaXML.cc') diff --git a/lib/LuaXML.cc b/lib/LuaXML.cc index a8dfbc0..73eac42 100644 --- a/lib/LuaXML.cc +++ b/lib/LuaXML.cc @@ -101,7 +101,7 @@ static int ParseString(lua_State *L) { static int ParseHandle(lua_State *__L) { Lua * L = Lua::find(__L); - Handle * h = (Handle *) LuaObject::getme(L, 1); + Handle * h = L->recast(1); TiXmlDocument doc; Buffer b(true); -- cgit v1.2.3