diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-09-04 15:15:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-09-04 15:15:29 -0300 |
commit | 3a15c7ce4338de8414239a898f6c121294b4dde7 (patch) | |
tree | 2d449c2966afaf5d092b6d07d8f04b2b0a9b13bb /lobject.h | |
parent | 0a6b58c3aac2741cf1c84c44d168c73e3e478c4d (diff) | |
download | lua-github-3a15c7ce4338de8414239a898f6c121294b4dde7.tar.gz |
size for array part of a table ('sizearray') changed from 'int' to
'unsigned int', which allows twice as many elements in the array part
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.100 2014/07/29 16:22:24 roberto Exp roberto $ +** $Id: lobject.h,v 2.101 2014/07/30 14:00:14 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -487,7 +487,7 @@ typedef struct Table { CommonHeader; lu_byte flags; /* 1<<p means tagmethod(p) is not present */ lu_byte lsizenode; /* log2 of size of `node' array */ - int sizearray; /* size of `array' array */ + unsigned int sizearray; /* size of `array' array */ TValue *array; /* array part */ Node *node; Node *lastfree; /* any free position is before this position */ |