From 56137d58ff7abe8cb22ee3469366e08888c84f28 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 18 Jul 2014 09:17:54 -0300 Subject: added check for conversion 'obj2gco' (and corrections for small problems detected by this check) --- ltm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltm.c') diff --git a/ltm.c b/ltm.c index dc2e922b..dfe0cc4b 100644 --- a/ltm.c +++ b/ltm.c @@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 2.26 2014/04/11 20:17:39 roberto Exp roberto $ +** $Id: ltm.c,v 2.27 2014/06/10 18:53:18 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -45,7 +45,7 @@ void luaT_init (lua_State *L) { int i; for (i=0; itmname[i] = luaS_new(L, luaT_eventname[i]); - luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */ + luaC_fix(L, ts2gco(G(L)->tmname[i])); /* never collect these names */ } } -- cgit v1.2.3-55-g6feb