summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua-interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index 6a7a9fc..4b1e949 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -296,7 +296,7 @@ int sLua_baselua_interface::baselua_interface_proceed_statics(Lua * L, int n, in
if (L->isstring(1)) {
L->load(&Input(L->tostring(1)));
} else {
- Handle * t = (Handle *) LuaObject::getme(L, 1);
+ Handle * t = L->recast<Handle>(1);
L->load(t);
}
}
@@ -309,7 +309,7 @@ int sLua_baselua_interface::baselua_interface_proceed_statics(Lua * L, int n, in
if (L->isstring(1)) {
L->load(&Input(L->tostring(1)), false);
} else {
- Handle * t = (Handle *) LuaObject::getme(L, 1);
+ Handle * t = L->recast<Handle>(1);
L->load(t, false);
}
}