From c6b442bd369ce05b3d4bfb95ba64451521aa1b31 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 17 Apr 2009 11:40:13 -0300 Subject: 'luaM_freearray' does not need array type as argument --- lstring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstring.c') diff --git a/lstring.c b/lstring.c index 3c40d4ef..e4903127 100644 --- a/lstring.c +++ b/lstring.c @@ -1,5 +1,5 @@ /* -** $Id: lstring.c,v 2.10 2007/11/09 18:55:07 roberto Exp roberto $ +** $Id: lstring.c,v 2.11 2008/02/19 18:55:09 roberto Exp roberto $ ** String table (keeps all strings handled by Lua) ** See Copyright Notice in lua.h */ @@ -41,7 +41,7 @@ void luaS_resize (lua_State *L, int newsize) { p = next; } } - luaM_freearray(L, tb->hash, tb->size, TString *); + luaM_freearray(L, tb->hash, tb->size); tb->size = newsize; tb->hash = newhash; } -- cgit v1.2.3-55-g6feb