aboutsummaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-04-17 11:40:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-04-17 11:40:13 -0300
commitc6b442bd369ce05b3d4bfb95ba64451521aa1b31 (patch)
treef46b96d8142564c05ad89400bb203510b71cb2b2 /lstring.c
parent4f88418170d298b065a7f71d86b1127153919ae9 (diff)
downloadlua-c6b442bd369ce05b3d4bfb95ba64451521aa1b31.tar.gz
lua-c6b442bd369ce05b3d4bfb95ba64451521aa1b31.tar.bz2
lua-c6b442bd369ce05b3d4bfb95ba64451521aa1b31.zip
'luaM_freearray' does not need array type as argument
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.c b/lstring.c
index 3c40d4ef..e4903127 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.c,v 2.10 2007/11/09 18:55:07 roberto Exp roberto $ 2** $Id: lstring.c,v 2.11 2008/02/19 18:55:09 roberto Exp roberto $
3** String table (keeps all strings handled by Lua) 3** String table (keeps all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -41,7 +41,7 @@ void luaS_resize (lua_State *L, int newsize) {
41 p = next; 41 p = next;
42 } 42 }
43 } 43 }
44 luaM_freearray(L, tb->hash, tb->size, TString *); 44 luaM_freearray(L, tb->hash, tb->size);
45 tb->size = newsize; 45 tb->size = newsize;
46 tb->hash = newhash; 46 tb->hash = newhash;
47} 47}