diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-04-17 11:40:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-04-17 11:40:13 -0300 |
commit | c6b442bd369ce05b3d4bfb95ba64451521aa1b31 (patch) | |
tree | f46b96d8142564c05ad89400bb203510b71cb2b2 /lstring.c | |
parent | 4f88418170d298b065a7f71d86b1127153919ae9 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | } |