diff options
-rw-r--r-- | ltm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 1.5 1997/11/03 20:45:23 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.6 1997/11/04 15:27:53 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -67,7 +67,7 @@ static void init_entry (int tag) | |||
67 | void luaT_init (void) | 67 | void luaT_init (void) |
68 | { | 68 | { |
69 | int t; | 69 | int t; |
70 | IMtable_size = NUM_TAGS; | 70 | IMtable_size = NUM_TAGS*2; |
71 | last_tag = -(NUM_TAGS-1); | 71 | last_tag = -(NUM_TAGS-1); |
72 | luaT_IMtable = luaM_newvector(IMtable_size, struct IM); | 72 | luaT_IMtable = luaM_newvector(IMtable_size, struct IM); |
73 | for (t=last_tag; t<=0; t++) | 73 | for (t=last_tag; t<=0; t++) |