From 746a1d612b975e1ec2b0ea906e6932f2497f5391 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 7 Jun 2005 15:53:45 -0300 Subject: small bug (type error) --- lcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lcode.c') diff --git a/lcode.c b/lcode.c index c835647f..d4239f02 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 2.12 2005/03/16 16:59:21 roberto Exp roberto $ +** $Id: lcode.c,v 2.13 2005/05/20 15:53:42 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -223,7 +223,7 @@ static int addk (FuncState *fs, TValue *k, TValue *v) { MAXARG_Bx, "constant table overflow"); while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]); setobj(L, &f->k[fs->nk], v); - luaC_barriert(L, f, v); + luaC_barrier(L, f, v); return fs->nk++; } } -- cgit v1.2.3-55-g6feb