From dfd7ce74cf040dba710657963db0144201823670 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 23 Feb 2001 17:32:16 -0300 Subject: buffer should be void *, as char now is not that neutral... --- ldebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index e42a9028..f425dc0b 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 1.68 2001/02/22 18:59:59 roberto Exp roberto $ +** $Id: ldebug.c,v 1.69 2001/02/23 17:17:25 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -366,7 +366,7 @@ static Instruction luaG_symbexec (lua_State *L, const Proto *pt, int pc; if (stackpos < 0) { /* full check? */ int i; - sl = (lu_byte *)luaO_openspace(L, pt->sizecode); + sl = luaO_openspace(L, pt->sizecode, lu_byte); for (i=0; isizecode; i++) /* initialize stack-level array */ sl[i] = SL_EMPTY; check(precheck(pt)); -- cgit v1.2.3-55-g6feb