diff options
-rw-r--r-- | ltable.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.51 2010/06/04 13:05:29 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.52 2010/06/25 12:18:10 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -38,8 +38,8 @@ | |||
38 | /* | 38 | /* |
39 | ** max size of array part is 2^MAXBITS | 39 | ** max size of array part is 2^MAXBITS |
40 | */ | 40 | */ |
41 | #if LUAI_BITSINT > 26 | 41 | #if LUAI_BITSINT >= 32 |
42 | #define MAXBITS 26 | 42 | #define MAXBITS 30 |
43 | #else | 43 | #else |
44 | #define MAXBITS (LUAI_BITSINT-2) | 44 | #define MAXBITS (LUAI_BITSINT-2) |
45 | #endif | 45 | #endif |