From bb129031205acc64eb6b41c98d8a08c1fccce308 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 18 Jul 2014 11:46:47 -0300 Subject: type 'Udata' refers directly to structure inside the union (union used only for aligning purposes now) --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index fde7fdcd..a24117a2 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.178 2014/07/18 12:17:54 roberto Exp roberto $ +** $Id: ltests.c,v 2.179 2014/07/18 13:36:14 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -319,7 +319,7 @@ static void checkobject (global_State *g, GCObject *o, int maybedead) { TValue uservalue; Table *mt = gco2u(o)->metatable; checkobjref(g, o, mt); - getuservalue(g->mainthread, rawgco2u(o), &uservalue); + getuservalue(g->mainthread, gco2u(o), &uservalue); checkvalref(g, o, &uservalue); break; } -- cgit v1.2.3-55-g6feb