diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BLua.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index 7624b57..a81b688 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.cc,v 1.15 2003-12-26 21:15:44 pixel Exp $ */ +/* $Id: BLua.cc,v 1.16 2003-12-26 21:23:35 pixel Exp $ */ #include <lualib.h> @@ -578,7 +578,7 @@ int LuaStatics::collector(lua_State * _L) { if (*obj) { printm(M_INFO, "Is object at %p\n", *u); Base * b = (Base *) *u; - const type_info & t = typeid(b); + const type_info & t = typeid(*b); printm(M_INFO, "Type: " + String(t.name()) + "\n"); delete b; } else { |