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 /lvm.c | |
parent | 0a6b58c3aac2741cf1c84c44d168c73e3e478c4d (diff) | |
download | lua-3a15c7ce4338de8414239a898f6c121294b4dde7.tar.gz lua-3a15c7ce4338de8414239a898f6c121294b4dde7.tar.bz2 lua-3a15c7ce4338de8414239a898f6c121294b4dde7.zip |
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 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 2.221 2014/07/30 14:00:14 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.222 2014/07/30 14:42:44 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1067,7 +1067,7 @@ void luaV_execute (lua_State *L) { | |||
1067 | vmcase(OP_SETLIST, | 1067 | vmcase(OP_SETLIST, |
1068 | int n = GETARG_B(i); | 1068 | int n = GETARG_B(i); |
1069 | int c = GETARG_C(i); | 1069 | int c = GETARG_C(i); |
1070 | int last; | 1070 | unsigned int last; |
1071 | Table *h; | 1071 | Table *h; |
1072 | if (n == 0) n = cast_int(L->top - ra) - 1; | 1072 | if (n == 0) n = cast_int(L->top - ra) - 1; |
1073 | if (c == 0) { | 1073 | if (c == 0) { |