diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1043,7 +1043,7 @@ static int table_query (lua_State *L) { | |||
| 1043 | } | 1043 | } |
| 1044 | else if (cast_uint(i) < asize) { | 1044 | else if (cast_uint(i) < asize) { |
| 1045 | lua_pushinteger(L, i); | 1045 | lua_pushinteger(L, i); |
| 1046 | arr2obj(t, i, s2v(L->top.p)); | 1046 | arr2obj(t, cast_uint(i), s2v(L->top.p)); |
| 1047 | api_incr_top(L); | 1047 | api_incr_top(L); |
| 1048 | lua_pushnil(L); | 1048 | lua_pushnil(L); |
| 1049 | } | 1049 | } |
