summaryrefslogtreecommitdiff
path: root/lib/LuaXML.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LuaXML.cc')
-rw-r--r--lib/LuaXML.cc2
1 files changed, 1 insertions, 1 deletions
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<Handle>(1);
TiXmlDocument doc;
Buffer b(true);