From 26629d0af16e8e7938cfb2f8c4c0ad70a027442c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 29 Aug 2013 10:49:57 -0300 Subject: details (a few casts moved from macro invocation to macro definition) --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index f7efdc59..a582feaa 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.80 2013/08/27 20:04:00 roberto Exp roberto $ +** $Id: ltable.c,v 2.81 2013/08/28 18:30:26 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -461,7 +461,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { } } setobj2t(L, gkey(mp), key); - luaC_barrierback(L, obj2gco(t), key); + luaC_barrierback(L, t, key); lua_assert(ttisnil(gval(mp))); return gval(mp); } -- cgit v1.2.3-55-g6feb