aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index b6b1fa1a..122b7f17 100644
--- a/ltable.c
+++ b/ltable.c
@@ -96,7 +96,7 @@ typedef union {
96** between 2^MAXHBITS and the maximum size such that, measured in bytes, 96** between 2^MAXHBITS and the maximum size such that, measured in bytes,
97** it fits in a 'size_t'. 97** it fits in a 'size_t'.
98*/ 98*/
99#define MAXHSIZE luaM_limitN(1u << MAXHBITS, Node) 99#define MAXHSIZE luaM_limitN(1 << MAXHBITS, Node)
100 100
101 101
102/* 102/*
@@ -598,7 +598,7 @@ static void setnodevector (lua_State *L, Table *t, unsigned size) {
598 else { 598 else {
599 int i; 599 int i;
600 int lsize = luaO_ceillog2(size); 600 int lsize = luaO_ceillog2(size);
601 if (lsize > MAXHBITS || (1u << lsize) > MAXHSIZE) 601 if (lsize > MAXHBITS || (1 << lsize) > MAXHSIZE)
602 luaG_runerror(L, "table overflow"); 602 luaG_runerror(L, "table overflow");
603 size = twoto(lsize); 603 size = twoto(lsize);
604 if (lsize < LIMFORLAST) /* no 'lastfree' field? */ 604 if (lsize < LIMFORLAST) /* no 'lastfree' field? */