summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-06-01 08:32:04 -0700
committerPixel <pixel@nobis-crew.org>2009-06-01 08:32:04 -0700
commitad49068027fce73fd0a3a3d2c196c567b4f073f6 (patch)
treee5b9343e8c59685273226a286fdfe0c72f767e70
parentb81896555a12f284c0dc11478a0c14fc2b725751 (diff)
How is linux handling that ? dumpvar is static, we shouldn't be able to call this method.
-rw-r--r--lib/BLua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 2451998..7a85b07 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -276,7 +276,7 @@ int LuaStatics::dumpvars(lua_State * _L) {
if (L->isstring(2))
L->getglobal(L->tostring(2));
- h = recast<Handle>();
+ h = L->recast<Handle>();
L->dumpvars(h, prefix);