summaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index e42a9028..f425dc0b 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.68 2001/02/22 18:59:59 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.69 2001/02/23 17:17:25 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -366,7 +366,7 @@ static Instruction luaG_symbexec (lua_State *L, const Proto *pt,
366 int pc; 366 int pc;
367 if (stackpos < 0) { /* full check? */ 367 if (stackpos < 0) { /* full check? */
368 int i; 368 int i;
369 sl = (lu_byte *)luaO_openspace(L, pt->sizecode); 369 sl = luaO_openspace(L, pt->sizecode, lu_byte);
370 for (i=0; i<pt->sizecode; i++) /* initialize stack-level array */ 370 for (i=0; i<pt->sizecode; i++) /* initialize stack-level array */
371 sl[i] = SL_EMPTY; 371 sl[i] = SL_EMPTY;
372 check(precheck(pt)); 372 check(precheck(pt));